A::nest()
Normalizes an array into a nested form by converting dot notation in keys to nested structures
A::nest(array $array, array $ignore = [ ]): array
Parameters
Name | Type | Default | Description |
---|---|---|---|
$arrayrequired | array |
no default value | |
$ignore | array |
[ ]
|
List of keys in dot notation that should not be converted to a nested structure |
Return type
array