$response->toArray() Converts all relevant response attributes to an associative array for debugging, testing or whatever. kirby/src/Http/Response.php#L301 $response->toArray(): array Return type array Parent class Kirby\Cms\Response inherited from Kirby\Http\Response