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