SecretRouteTrait.php 415 B

1234567891011121314151617181920
  1. <?php
  2. namespace EasySwoole\DoctrineAnnotation\Tests\Fixtures\Traits;
  3. use EasySwoole\DoctrineAnnotation\Tests\Fixtures\Annotation\Route;
  4. use EasySwoole\DoctrineAnnotation\Tests\Fixtures\Annotation\Template;
  5. trait SecretRouteTrait
  6. {
  7. /**
  8. * @return mixed[]
  9. *
  10. * @Route("/secret", name="_secret")
  11. * @Template()
  12. */
  13. public function secretAction(): array
  14. {
  15. return [];
  16. }
  17. }