Property | Type | Description | |
---|---|---|---|
$debug | boolean | ||
$logger | Psr\Log\LoggerInterface | ||
$templateDir | string |
Method | 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 ) |
Method | 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 | |
return | string |
protected LoggerInterface,Psr\Log $logger | ||
return | Psr\Log\LoggerInterface |