Skip to content

Kirby 4.4.1

Cookie::lifetime()

Calculates the lifetime for a cookie

Cookie::lifetime(int $minutes): int

Parameters

Name Type Default Description
$minutes * int Number of minutes or timestamp

Return type

int

Parent class

Kirby\Http\Cookie