$collection->toResponse() kirby/src/Api/Collection.php#L132 $collection->toResponse(): array Return type array Exceptions Type Description Kirby\Exception\NotFoundException Exception Parent class Kirby\Api\Collection