AnnotationEnumLiteral.php 673 B

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