12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace EasySwoole\DoctrineAnnotation\Tests\Fixtures;
- use EasySwoole\DoctrineAnnotation\Tests\Fixtures\AnnotationEnum;
- class ClassWithAnnotationEnum
- {
- /**
- * @var mixed
- * @AnnotationEnum(AnnotationEnum::ONE)
- */
- public $foo;
- /**
- * @AnnotationEnum("TWO")
- */
- public function bar(): void
- {
- }
- /**
- * @var mixed
- * @AnnotationEnum("FOUR")
- */
- public $invalidProperty;
- /**
- * @AnnotationEnum(5)
- */
- public function invalidMethod(): void
- {
- }
- }
|