26 if (isset($properties[0])) {
27 $this->name = $properties[0];
28 unset($properties[0]);
29 }
else if (isset($properties[
'name'])) {
30 $this->name = $properties[
'name'];
32 throw new \Exception(
'Column annotation must have a name');
34 parent::initAnnotation($properties);