interface
Illuminate
/
Contracts
/
Foundation
/
MaintenanceMode
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
MaintenanceMode
Methods
public
activate ( array $payload ) : void
Take the application down for maintenance.
Parameters
- $payload array
public
deactivate ( ) : void
Take the application out of maintenance.
public
active ( ) : bool
Determine if the application is currently down for maintenance.
public
data ( ) : array
Get the data array which was provided when the application was placed into maintenance.