Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / doctrine / common / tests / Doctrine / Tests / Common / Annotations / Fixtures / ClassWithValidAnnotationTarget.php
1 <?php
2
3 namespace Doctrine\Tests\Common\Annotations\Fixtures;
4
5 use Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetClass;
6 use Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetAll;
7 use Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetPropertyMethod;
8 use Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetNestedAnnotation;
9
10 /**
11  * @AnnotationTargetClass("Some data")
12  */
13 class ClassWithValidAnnotationTarget
14 {
15
16     /**
17      * @AnnotationTargetPropertyMethod("Some data")
18      */
19     public $foo;
20
21
22     /**
23      * @AnnotationTargetAll("Some data",name="Some name")
24      */
25     public $name;
26
27     /**
28      * @AnnotationTargetPropertyMethod("Some data",name="Some name")
29      */
30     public function someFunction()
31     {
32
33     }
34
35
36     /**
37      * @AnnotationTargetAll(@AnnotationTargetAnnotation)
38      */
39     public $nested;
40
41 }