ArrayAccessorTrait
Provides generic array navigation tools.
Table of Contents
Methods
- getValueByKey() : mixed
- Returns a value by key using dot notation.
Methods
getValueByKey()
Returns a value by key using dot notation.
private
getValueByKey(array<string|int, mixed> $data, string $key[, mixed|null $default = null ]) : mixed
Parameters
- $data : array<string|int, mixed>
- $key : string
- $default : mixed|null = null