$responder->toArray()
Converts the response configuration to an array
$responder->toArray(): array{body: string|null, code: int|null, headers: array, type: string|null}
Return type
array{body: string|null, code: int|null, headers: array<string, string>, type: string|null}