Initialized
in package
implements
MiddlewareInterface
Validates that Plesk is initialized.
Returns HTTP 503 with a JSON object '{ "message": "<...>" }' if Plesk is not initialized yet.
Tags
Interfaces, Classes and Traits
- MiddlewareInterface
Table of Contents
- __construct() : mixed
- process() : ResponseInterface
Methods
__construct()
public
__construct(ResponseFactoryInterface $factory) : mixed
Parameters
- $factory : ResponseFactoryInterface
Return values
mixed —process()
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface