Skip to content

Kirby 3.8.4

$responder->headers()

Setter and getter for all headers

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

Parameters

Name Type Default
$headers array 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