TraitWithAnnotatedMethod.php 334 B

123456789101112131415161718192021
  1. <?php
  2. namespace EasySwoole\DoctrineAnnotation\Tests\Fixtures;
  3. use EasySwoole\DoctrineAnnotation\Tests\Fixtures\Annotation\Autoload;
  4. trait TraitWithAnnotatedMethod
  5. {
  6. /**
  7. * @var mixed
  8. * @Autoload
  9. */
  10. public $traitProperty;
  11. /**
  12. * @Autoload
  13. */
  14. public function traitMethod(): void
  15. {
  16. }
  17. }