@@ 91-93 (lines=3) @@ | ||
88 | $description = $factory->create($property->getDocComment(), $context); |
|
89 | $tags = $description->getTags('var'); |
|
90 | ||
91 | if (!count($tags)) { |
|
92 | throw new Exception("No var tag for ".$entity.'::'.$property->getName()); |
|
93 | } |
|
94 | ||
95 | if (count($tags) > 1) { |
|
96 | throw new Exception("Invalid var tag for ".$entity.'::'.$property->getName()); |
|
@@ 95-97 (lines=3) @@ | ||
92 | throw new Exception("No var tag for ".$entity.'::'.$property->getName()); |
|
93 | } |
|
94 | ||
95 | if (count($tags) > 1) { |
|
96 | throw new Exception("Invalid var tag for ".$entity.'::'.$property->getName()); |
|
97 | } |
|
98 | ||
99 | $propertyName = $this->mapper->getSchema()->toUnderscore($property->getName()); |
|
100 | $phpType = $tags[0]->getType(); |