FileBasedMaintenanceMode
class FileBasedMaintenanceMode implements MaintenanceMode
Methods
Take the application down for maintenance.
Take the application out of maintenance.
Determine if the application is currently down for maintenance.
Get the data array which was provided when the application was placed into maintenance.
Get the path where the file is stored that signals that the application is down for maintenance.
Details
at line 13
__construct(Filesystem $files = new Filesystem())
No description
at line 20
void
activate(array $payload)
Take the application down for maintenance.
at line 31
void
deactivate()
Take the application out of maintenance.
at line 45
bool
active()
Determine if the application is currently down for maintenance.
at line 53
array
data()
Get the data array which was provided when the application was placed into maintenance.
at line 67
protected string
path()
Get the path where the file is stored that signals that the application is down for maintenance.