Skip to content

Kirby 5.0.4

$responder->headers()

Setter and getter for all headers

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

Parameters

Name Type Default
$headers arrayornull null

Return types

arrayorKirby\Cms\Responder

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

Parent class

Kirby\Cms\Responder