ClassWithInvalidAnnotationTargetAtProperty.php 497 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace EasySwoole\DoctrineAnnotation\Tests\Fixtures;
  3. use EasySwoole\DoctrineAnnotation\Tests\Fixtures\AnnotationTargetAnnotation;
  4. use EasySwoole\DoctrineAnnotation\Tests\Fixtures\AnnotationTargetClass;
  5. /**
  6. * @AnnotationTargetClass("Some data")
  7. */
  8. class ClassWithInvalidAnnotationTargetAtProperty
  9. {
  10. /**
  11. * @var mixed
  12. * @AnnotationTargetClass("Bar")
  13. */
  14. public $foo;
  15. /**
  16. * @var mixed
  17. * @AnnotationTargetAnnotation("Foo")
  18. */
  19. public $bar;
  20. }