Skip to content

Kirby 5.3.0

$lazyCollection->initialize()

Ensures that the keys for all valid collection elements are loaded in the $data array and sets $initialized to true afterwards; to be implemented in each collection that wants to use lazy initialization; be sure to keep existing $data values and not overwrite the entire array

$lazyCollection->initialize(): void

Parent class

Kirby\Cms\LazyCollection