3 namespace Doctrine\Tests\Common\Annotations\Fixtures;
9 @Attribute("mixed", type = "mixed"),
10 @Attribute("boolean", type = "boolean"),
11 @Attribute("bool", type = "bool"),
12 @Attribute("float", type = "float"),
13 @Attribute("string", type = "string"),
14 @Attribute("integer", type = "integer"),
15 @Attribute("array", type = "array"),
16 @Attribute("arrayOfIntegers", type = "array<integer>"),
17 @Attribute("annotation", type = "Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetAll"),
18 @Attribute("arrayOfAnnotations", type = "array<Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetAll>"),
21 final class AnnotationWithAttributes
24 public final function __construct(array $data)
26 foreach ($data as $key => $value) {
39 private $arrayOfIntegers;
40 private $arrayOfAnnotations;
45 public function getMixed()
53 public function getBoolean()
55 return $this->boolean;
61 public function getBool()
69 public function getFloat()
77 public function getString()
82 public function getInteger()
84 return $this->integer;
90 public function getArray()
96 * @return Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetAll
98 public function getAnnotation()
100 return $this->annotation;
104 * @return array<integer>
106 public function getArrayOfIntegers()
108 return $this->arrayOfIntegers;
112 * @return array<Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetAll>
114 public function getArrayOfAnnotations()
116 return $this->arrayOfAnnotations;