| 1 | <?php |
||
| 16 | class PropertyDefinition { |
||
| 17 | |||
| 18 | protected $name; |
||
| 19 | |||
| 20 | protected $entityType; |
||
| 21 | |||
| 22 | protected $isArray; |
||
| 23 | |||
| 24 | public function __construct($name, $entityType = NULL, $isArray = FALSE) { |
||
| 29 | |||
| 30 | public function getName() { |
||
| 33 | |||
| 34 | public function getEntityType() { |
||
| 37 | |||
| 38 | public function isArray() { |
||
| 41 | } |
||
| 42 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.