Skip to content

Kirby 3.9.8

new Collection()

Constructor

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

Parameters

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

Parent class

Kirby\Toolkit\Collection