Skip to content

Kirby 4.4.1

$responder->headers()

Setter and getter for all headers

$responder->headers(?array $headers = null): array|Kirby\Cms\Responder

Parameters

Name Type Default
$headers array|null null

Return type

array|Kirby\Cms\Responder

This method modifies the existing $responder object it is applied to and returns it again.

Parent class

Kirby\Cms\Responder