Skip to content

Kirby 5.1.3

$collection->toArray()

$collection->toArray(): array

Return type

array

This method modifies the existing $collection object it is applied to and returns it again.

Exceptions

Type Description
Kirby\Exception\NotFoundException
Exception

Parent class

Kirby\Api\Collection