Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / doctrine / common / tests / Doctrine / Tests / Common / Annotations / DummyClass.php
1 <?php
2
3 namespace Doctrine\Tests\Common\Annotations;
4
5 use Doctrine\Tests\Common\Annotations\DummyAnnotation;
6 use Doctrine\Tests\Common\Annotations\Name;
7 use Doctrine\Tests\Common\Annotations\DummyJoinTable;
8 use Doctrine\Tests\Common\Annotations\DummyJoinColumn;
9
10 /**
11  * A description of this class.
12  *
13  * Let's see if the parser recognizes that this @ is not really referring to an
14  * annotation. Also make sure that @var \ is not concated to "@var\is".
15  *
16  * @author robo
17  * @since 2.0
18  * @DummyAnnotation(dummyValue="hello")
19  */
20 class DummyClass
21 {
22     /**
23      * A nice property.
24      *
25      * @var mixed
26      * @DummyAnnotation(dummyValue="fieldHello")
27      */
28     private $field1;
29
30     /**
31      * @DummyJoinTable(name="join_table",
32      *      joinColumns={@DummyJoinColumn(name="col1", referencedColumnName="col2")},
33      *      inverseJoinColumns={
34      *          @DummyJoinColumn(name="col3", referencedColumnName="col4")
35      *      })
36      */
37     private $field2;
38
39     /**
40      * Gets the value of field1.
41      *
42      * @return mixed
43      * @DummyAnnotation({1,2,"three"})
44      */
45     public function getField1()
46     {
47     }
48 }