/** * All properties in the source array except __identity and adjustments are sub-properties. * * @param mixed $source * @return array */ public function getSourceChildPropertiesToBeConverted($source) { if (is_string($source)) { return array(); } return parent::getSourceChildPropertiesToBeConverted($source); }
/** * All properties in the source array except __identity are sub-properties. * * @param mixed $source * @return array */ public function getSourceChildPropertiesToBeConverted($source) { if (is_string($source)) { return array(); } if (isset($source['__identity'])) { unset($source['__identity']); } return parent::getSourceChildPropertiesToBeConverted($source); }