class
Illuminate
/
Foundation
/
FileBasedMaintenanceMode
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
FileBasedMaintenanceMode
Implements
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.
protected
path ( ) : string
Get the path where the file is stored that signals that the application is down for maintenance.