コード例 #1
0
 public function setModelObject(&$object)
 {
     if ($this->target instanceof Model) {
         $this->target->setModelObject($object);
         return;
     }
     PropertyResolver::set($this->target, $this->property, $object);
 }
コード例 #2
0
 public function setModelObject(&$object)
 {
     PropertyResolver::set($this->wrapped->getModelObject(), $this->source->getId(), $object);
 }
コード例 #3
0
 public function setModelObject(&$object)
 {
     PropertyResolver::set($this->target, $this->property, $object);
 }