Skip to content

Kirby 4.5.0

$response->header()

Getter for single headers

$response->header(string $key): string|null

Parameters

Name Type Default Description
$key * string Name of the header

Return type

string|null

Parent class

Kirby\Cms\Response inherited from Kirby\Http\Response