CodeExplorer setOverriddenData example
public function initWithData(array
$data) { parent::
initWithData($data);
$this->
resetOverriddenData();
return $this;
} /**
* {@inheritdoc}
*/
public function get($key = ''
) { if (!
isset($this->overriddenData
)) { $this->
setOverriddenData();
} if (empty($key)) { return $this->overriddenData;
} else { $parts =
explode('.',
$key);
if (count($parts) == 1
) { return $this->overriddenData
[$key] ?? NULL;
} else { $value = NestedArray::
getValue($this->overriddenData,
$parts,
$key_exists);