ControllerWithParentClass.php 522 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace EasySwoole\DoctrineAnnotation\Tests\Fixtures;
  3. use EasySwoole\DoctrineAnnotation\Tests\Fixtures\Annotation\Route;
  4. use EasySwoole\DoctrineAnnotation\Tests\Fixtures\Annotation\Template;
  5. /**
  6. * @Route("/someprefix")
  7. * @author Johannes M. Schmitt <schmittjoh@gmail.com>
  8. */
  9. class ControllerWithParentClass extends AbstractController
  10. {
  11. /**
  12. * @return mixed[]
  13. *
  14. * @Route("/", name="_demo")
  15. * @Template()
  16. */
  17. public function indexAction(): array
  18. {
  19. return [];
  20. }
  21. }