class Illuminate / Foundation / Http / MaintenanceModeBypassCookie

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