Skip to content

Kirby 4.2.0

$layouts->count()

Counts all elements

$layouts->count(): int

Return type

int

Parent class

Kirby\Cms\Layouts inherited from Kirby\Toolkit\Iterator