mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
671f50c702
ee71539694
[NodeTypeResolver] Use isScalar()->yes() usage on StaticTypeAnalyzer and ScalarTypeComparator services (#5099)
33 lines
735 B
PHP
33 lines
735 B
PHP
<?php
|
|
|
|
namespace RectorPrefix202310\Illuminate\Contracts\Foundation;
|
|
|
|
interface MaintenanceMode
|
|
{
|
|
/**
|
|
* Take the application down for maintenance.
|
|
*
|
|
* @param array $payload
|
|
* @return void
|
|
*/
|
|
public function activate(array $payload) : void;
|
|
/**
|
|
* Take the application out of maintenance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function deactivate() : void;
|
|
/**
|
|
* Determine if the application is currently down for maintenance.
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function active() : bool;
|
|
/**
|
|
* Get the data array which was provided when the application was placed into maintenance.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function data() : array;
|
|
}
|