示例#1
0
 public function getName()
 {
     if ($this->parent) {
         return $this->parent->getEntityName($this);
     }
     throw new \Exception('getName() not available for orphan entity');
 }