Example #1
0
 public function save(ValueObject $vo)
 {
     if (empty($vo)) {
         return false;
     }
     $vo2 = clone $vo;
     // Make cloned copy of the vo
     // Have to unset joined class data, though not the _foreign keys, I guess.
     unset($vo2->identity);
     unset($vo2->class_name);
     unset($vo2->theme);
     parent::save($vo2);
 }