Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Contracts\Foundation;
4
 
5
interface MaintenanceMode
6
{
7
    /**
8
     * Take the application down for maintenance.
9
     *
10
     * @param  array  $payload
11
     * @return void
12
     */
13
    public function activate(array $payload): void;
14
 
15
    /**
16
     * Take the application out of maintenance.
17
     *
18
     * @return void
19
     */
20
    public function deactivate(): void;
21
 
22
    /**
23
     * Determine if the application is currently down for maintenance.
24
     *
25
     * @return bool
26
     */
27
    public function active(): bool;
28
 
29
    /**
30
     * Get the data array which was provided when the application was placed into maintenance.
31
     *
32
     * @return array
33
     */
34
    public function data(): array;
35
}