Skip to content

Kirby 5.0.4

new NestCollection()

Constructor

new NestCollection(array $data = [ ], bool $caseSensitive = false)

Parameters

Name Type Default Description
$data array<string, TValue> [ ]
$caseSensitive bool false Whether the collection keys should be
treated as case-sensitive

Parent class

Kirby\Cms\NestCollection inherited from Kirby\Toolkit\Collection