ClassUsesTrait.php 429 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace EasySwoole\DoctrineAnnotation\Tests\Fixtures;
  3. use EasySwoole\DoctrineAnnotation\Tests\Bar\Autoload;
  4. class ClassUsesTrait
  5. {
  6. use TraitWithAnnotatedMethod;
  7. /**
  8. * @var mixed
  9. * @Autoload
  10. */
  11. public $aProperty;
  12. /**
  13. * @Autoload
  14. */
  15. public function someMethod(): void
  16. {
  17. }
  18. }
  19. namespace EasySwoole\DoctrineAnnotation\Tests\Bar;
  20. /** @Annotation */
  21. class Autoload
  22. {
  23. }