ClassThatUsesTraitThatUsesAnotherTraitWithMethods.php 503 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace EasySwoole\DoctrineAnnotation\Tests\Fixtures;
  3. use EasySwoole\DoctrineAnnotation\Tests\Fixtures\Annotation\Route;
  4. use EasySwoole\DoctrineAnnotation\Tests\Fixtures\Traits\TraitThatUsesAnotherTrait;
  5. class ClassThatUsesTraitThatUsesAnotherTraitWithMethods
  6. {
  7. use TraitThatUsesAnotherTrait;
  8. /**
  9. * @Route("/someprefix")
  10. */
  11. public function method1(): void
  12. {
  13. }
  14. /**
  15. * @Route("/someotherprefix")
  16. */
  17. public function method2(): void
  18. {
  19. }
  20. }