MaintenanceModeBypassCookie
class MaintenanceModeBypassCookie (View source)
Methods
static Cookie
create(string $key)
Create a new maintenance mode bypass cookie.
static bool
isValid(string $cookie, string $key)
Determine if the given maintenance mode bypass cookie is valid.
Details
static Cookie
create(string $key)
Create a new maintenance mode bypass cookie.
static bool
isValid(string $cookie, string $key)
Determine if the given maintenance mode bypass cookie is valid.