123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace EasySwoole\DoctrineAnnotation\Tests\Fixtures;
- use EasySwoole\DoctrineAnnotation\Tests\Fixtures\AnnotationTargetAll;
- use EasySwoole\DoctrineAnnotation\Tests\Fixtures\AnnotationTargetAnnotation;
- use EasySwoole\DoctrineAnnotation\Tests\Fixtures\AnnotationWithVarType;
- class ClassWithAnnotationWithVarType
- {
- /**
- * @var mixed
- * @AnnotationWithVarType(string = "String Value")
- */
- public $foo;
- /**
- * @AnnotationWithVarType(annotation = @AnnotationTargetAll)
- */
- public function bar(): void
- {
- }
- /**
- * @var mixed
- * @AnnotationWithVarType(string = 123)
- */
- public $invalidProperty;
- /**
- * @AnnotationWithVarType(annotation = @AnnotationTargetAnnotation)
- */
- public function invalidMethod(): void
- {
- }
- }
|