Skip to content

Kirby 4.5.0

$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