Skip to content

Kirby 3.9.8

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
$array * array
$ignore array [ ] List of keys in dot notation that should
not be converted to a nested structure

Return type

array

Parent class

Kirby\Toolkit\A