22 if (isset ( $properties [0] )) {
23 $this->name = $properties [0];
24 unset ( $properties [0] );
25 }
else if (isset ( $properties [
'name'] )) {
26 $this->name = $properties [
'name'];
28 throw new \Exception (
'Table annotation must have a name' );