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