コード例 #1
0
ファイル: Entity.php プロジェクト: bombayworks/currycms
 public function getName()
 {
     if ($this->parent) {
         return $this->parent->getEntityName($this);
     }
     throw new \Exception('getName() not available for orphan entity');
 }