/** * getChangedFields * @return string[] * @throws Model\Exception * @throws \Exception */ public function getChangedFields() { try { return parent::getChangedFields(); } catch (Model\Exception $e) { if ($e->getMessage() != 'The record doesn\'t have a valid data snapshot') { throw $e; } return $this->getModelsMetaData()->getColumnMap($this); } }