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.

Parameters

string $key

Return Value

Cookie

static bool isValid(string $cookie, string $key)

Determine if the given maintenance mode bypass cookie is valid.

Parameters

string $cookie
string $key

Return Value

bool