extension_builder icon indicating copy to clipboard operation
extension_builder copied to clipboard

example code in actions

Open DavidBruchmann opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. Currently Actions are empty, after the required return value \Psr\Http\Message\ResponseInterface has been introduced.

Describe the solution you'd like I wish example code like in former versions that grants for rudimentary functionality.
Something like this:

   public function listAction(): ResponseInterface
   {
      $products = $this->productRepository->findAll();
      $this->view->assign('products', $products);

      return $this->htmlResponse();
   }

TYPO3 Version 11.5.4

Extension Builder Version: TER version 11.0.1

DavidBruchmann avatar Dec 25 '21 10:12 DavidBruchmann