Skip to content

Kirby 6.0.0

$collection->toArray()

$collection->toArray(): list>

Return type

list<array<string, mixed>>

Exceptions

Type Description
Kirby\Exception\NotFoundException
Exception

Parent class

Kirby\Api\Collection