Skip to content

Kirby 4.4.1

$response->toArray()

Converts all relevant response attributes to an associative array for debugging, testing or whatever.

$response->toArray(): array

Return type

array

Parent class

Kirby\Http\Response