Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / doctrine / common / tests / Doctrine / Tests / Common / Annotations / Fixtures / ClassWithAnnotationWithVarType.php
1 <?php
2
3 namespace Doctrine\Tests\Common\Annotations\Fixtures;
4
5 use Doctrine\Tests\Common\Annotations\Fixtures\AnnotationWithVarType;
6 use Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetAll;
7 use Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetAnnotation;
8
9 class ClassWithAnnotationWithVarType
10 {
11     /**
12      * @AnnotationWithVarType(string = "String Value")
13      */
14     public $foo;
15
16     /**
17      * @AnnotationWithVarType(annotation = @AnnotationTargetAll)
18      */
19     public function bar(){}
20
21
22     /**
23      * @AnnotationWithVarType(string = 123)
24      */
25     public $invalidProperty;
26
27     /**
28      * @AnnotationWithVarType(annotation = @AnnotationTargetAnnotation)
29      */
30     public function invalidMethod(){}
31 }