class FileBasedMaintenanceMode implements MaintenanceMode (View source)
| void | activate(array $payload)
Take the application down for maintenance. | |
| void | deactivate()
Take the application out of maintenance. | |
| bool | active()
Determine if the application is currently down for maintenance. | |
| array | data()
Get the data array which was provided when the application was placed into maintenance. | |
| string | path()
Get the path where the file is stored that signals that the application is down for maintenance. |
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Foundation/FileBasedMaintenanceMode.html