MAKS\AmqpAgent\Helper\ArrayProxyTrait::getArrayValueByKey
Gets a value from an array via dot-notation representation.
Signature
public function getArrayValueByKey(array&
$array,
string
$key,
[mixed
$default = NULL] )
Parameters
$array— array$key— string- The dotted key representation.
$default— mixed- [optional] The default fallback value.
Returns
- mixed
- The requested value if found otherwise the default parameter.