44 lines
806 B
YAML
44 lines
806 B
YAML
|
name: MaintenanceMode
|
||
|
class_comment: null
|
||
|
dependencies: []
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: activate
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: payload
|
||
|
comment: '# * Take the application down for maintenance.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param array $payload
|
||
|
|
||
|
# * @return void'
|
||
|
- name: deactivate
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Take the application out of maintenance.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return void'
|
||
|
- name: active
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Determine if the application is currently down for maintenance.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return bool'
|
||
|
- name: data
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Get the data array which was provided when the application was placed
|
||
|
into maintenance.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return array'
|
||
|
traits: []
|
||
|
interfaces: []
|