Skip to content

Kirby 4.1.2

$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