Class Shutdown
Shutdown Handler
It outputs a simple message in either JSON, XML, or HTML based on the Accept header.
A maintenance mode check is included in the default middleware stack for your application. This is a practical feature to "disable" your application while performing an update or maintenance.
- Charcoal\App\Handler\AbstractHandler implements Charcoal\Config\ConfigurableInterface, Charcoal\App\Handler\HandlerInterface, Psr\Log\LoggerAwareInterface, Charcoal\View\ViewableInterface uses Charcoal\Config\ConfigurableTrait (not available) Psr\Log\LoggerAwareTrait (not available) Charcoal\Translator\TranslatorAwareTrait (not available) Charcoal\View\ViewableTrait (not available)
- Charcoal\App\Handler\Shutdown
public
Psr\Http\Message\ResponseInterface
|
|
protected
|
|
public
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
public
string
|
|
public
string
|
protected
string
|
$methods
HTTP methods allowed by the current request. |
$baseUrl,
$container,
$knownContentTypes
|