Skip to content

Kirby 6.0.1

new NestCollection()

Constructor

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

Parameters

Name Type Default Description
$data array<string, Kirby\Cms\NestCollection|Kirby\Cms\NestObject|Kirby\Content\Field> []
$caseSensitive bool false Whether the collection keys should be treated as case-sensitive

Parent class

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