Skip to content

Kirby 4.1.0

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