/**
  * {@inheritDoc}
  */
 public function toCmsData()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'toCmsData', array());
     return parent::toCmsData();
 }
예제 #2
0
파일: Doctrine.php 프로젝트: rukzuk/rukzuk
 /**
  * @param \Orm\Entity\WebsiteSettings $orm
  *
  * @return \Cms\Data\WebsiteSettings
  */
 protected function convertOrmToDataObject(OrmWebsiteSettings $orm)
 {
     /** @var $snippet \Cms\Data\WebsiteSettings */
     return $orm->toCmsData();
 }