$jsonResponse->toArray()
Converts all relevant response attributes to an associative array for debugging, testing or whatever.
$jsonResponse->toArray(): array{type: string, charset: string, code: int, headers: array, body: string}
Return type
array{type: string, charset: string, code: int, headers: array, body: string}
Parent class
Kirby\Panel\Response\JsonResponse
inherited from Kirby\Http\Response