Skip to content

Kirby 4.3.0

$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 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