Skip to content

Kirby 3.7.5

$responder->usesCookies()

Setter and getter for the list of cookie names the response relies on

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

Parameters

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