/** * Tasks before update */ protected function before() { if ($this->knowsOldObject()) { $this->OldObject->synchronize(); } $this->NewObject->synchronize(); }
/** * Synchronize */ public function synchronize() { parent::synchronize(); $this->ensureAllNumericValues(); }
/** * Tasks before insertion */ protected function before() { $this->Object->synchronize(); }