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.

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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Foundation/Http/MaintenanceModeBypassCookie.html