Skip to content

Kirby 4.2.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\Cms\Response inherited from Kirby\Http\Response