コード例 #1
0
ファイル: Video.php プロジェクト: NicolasSchmutz/cm
 public function toArray()
 {
     $array = parent::toArray();
     $array['key'] = $this->getKey();
     if ($this->hasStreamPublish()) {
         $array['user'] = $this->getStreamPublish()->getUser();
     }
     return $array;
 }