Debian Codegraph @

lib/3rdParty/composer/illuminate/contracts/Foundation/MaintenanceMode.php

raw symbols SCIP
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 }