class Illuminate / Foundation / Http / MaintenanceModeBypassCookie
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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