AnnotationEnumLiteral.php 654 B

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