Skip to content

Kirby 6.0.0

$responder->usesCookies()

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

$responder->usesCookies(list|null $usesCookies = null): list|Responder

Parameters

Name Type Default
$usesCookies list<string>ornull null

Return types

list<string>orKirby\Cms\Responder

This method does not modify the existing $responder object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Responder