Свойство | Тип | Описание | |
---|---|---|---|
$debug | boolean | ||
$logger | Psr\Log\LoggerInterface | ||
$templateDir | string |
Метод | Описание | |
---|---|---|
__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 ) |
Метод | Описание | |
---|---|---|
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 | |
Результат | string |
protected LoggerInterface,Psr\Log $logger | ||
Результат | Psr\Log\LoggerInterface |