Пример #1
0
 /**
  * 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);
 }