123456789101112131415161718192021222324252627282930313233 |
- <?php
- namespace EasySwoole\DoctrineAnnotation\Tests\Fixtures;
- use EasySwoole\DoctrineAnnotation\Tests\Fixtures\AnnotationEnumLiteral as SelfEnum;
- /**
- * @Annotation
- * @Target("ALL")
- */
- final class AnnotationEnumLiteral
- {
- public const ONE = 1;
- public const TWO = 2;
- public const THREE = 3;
- /**
- * @var mixed
- * @Enum(
- * value = {
- * 1,
- * 2,
- * 3,
- * },
- * literal = {
- * 1 : "AnnotationEnumLiteral::ONE",
- * 2 : "AnnotationEnumLiteral::TWO",
- * 3 : "AnnotationEnumLiteral::THREE",
- * }
- * )
- */
- public $value;
- }
|