class
Illuminate
/
Foundation
/
Http
/
MaintenanceModeBypassCookie
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
MaintenanceModeBypassCookie
Methods
public
static
create ( string $key ) : Symfony\...\Cookie
Create a new maintenance mode bypass cookie.
Parameters
- $key string
public
static
isValid ( string $cookie , string $key ) : bool
Determine if the given maintenance mode bypass cookie is valid.
Parameters
- $cookie string
- $key string