Свойство | Type | Description | |
---|---|---|---|
$debug | boolean | ||
$logger | Psr\Log\LoggerInterface | ||
$templateDir | string |
Méthode | Description | |
---|---|---|
__construct ( string $templateDir, Psr\Log\LoggerInterface $logger, boolean $debug = false ) | ||
__invoke ( $error, Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $out = null ) |
Méthode | Description | |
---|---|---|
getErrorPage ( string $status ) : string |
public __construct ( string $templateDir, Psr\Log\LoggerInterface $logger, boolean $debug = false ) | ||
$templateDir | string | |
$logger | Psr\Log\LoggerInterface | |
$debug | boolean |
protected getErrorPage ( string $status ) : string | ||
$status | string | |
Résultat | string |
protected LoggerInterface,Psr\Log $logger | ||
Résultat | Psr\Log\LoggerInterface |