Documentation

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
since
18.0.41

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
Return values
ResponseInterface

Search results