Пример #1
0
 /**
  * @param $object
  * @param $data
  */
 protected function setDataToObject($object, $data)
 {
     $this->entityObjectSetter->setObject($object);
     $this->entityObjectSetter->setData($data);
     $this->entityObjectSetter->setDataToObject();
 }
Пример #2
0
 protected function initEntityObjectSetter()
 {
     $this->entityObjectSetter = $this->componentFactory->getEntityObjectSetter();
     $this->entityObjectSetter->setEntityManager($this->entityManager);
 }