AnnotationEnumLiteralInvalid.php 574 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace EasySwoole\DoctrineAnnotation\Tests\Fixtures;
  3. /**
  4. * @Annotation
  5. * @Target("ALL")
  6. */
  7. final class AnnotationEnumLiteralInvalid
  8. {
  9. public const ONE = 1;
  10. public const TWO = 2;
  11. public const THREE = 3;
  12. /**
  13. * @var mixed
  14. * @Enum(
  15. * value = {
  16. * 1,
  17. * 2
  18. * },
  19. * literal = {
  20. * 1 : "AnnotationEnumLiteral::ONE",
  21. * 2 : "AnnotationEnumLiteral::TWO",
  22. * 3 : "AnnotationEnumLiteral::THREE"
  23. * }
  24. * )
  25. */
  26. public $value;
  27. }