Reference

Guide

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

Source code

kirby/src/Toolkit/A.php#L431