Skip to content

Kirby 6.0.0

$collection->toResponse()

$collection->toResponse(): array

Return type

array<string, mixed>

Exceptions

Type Description
Kirby\Exception\NotFoundException
Exception

Parent class

Kirby\Api\Collection