$responder->toCacheArray()
Converts the response configuration to an array that can safely be cached
$responder->toCacheArray(): 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}