PHP Класс Laravel\Lumen\Exceptions\Handler

Наследование: implements Illuminate\Contracts\Debug\ExceptionHandler
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$dontReport array A list of the exception types that should not be reported.

Открытые методы

Метод Описание
render ( Illuminate\Http\Request $request, Exception $e ) : Illuminate\Http\Response Render an exception into an HTTP response.
renderForConsole ( Symfony\Component\Console\Output\OutputInterface $output, Exception $e ) : void Render an exception to the console.
report ( Exception $e ) : void Report or log an exception.
shouldReport ( Exception $e ) : boolean Determine if the exception should be reported.

Защищенные методы

Метод Описание
decorate ( string $content, string $css ) : string Get the html response content.
shouldntReport ( Exception $e ) : boolean Determine if the exception is in the "do not report" list.

Описание методов

decorate() защищенный метод

Get the html response content.
protected decorate ( string $content, string $css ) : string
$content string
$css string
Результат string

render() публичный метод

Render an exception into an HTTP response.
public render ( Illuminate\Http\Request $request, Exception $e ) : Illuminate\Http\Response
$request Illuminate\Http\Request
$e Exception
Результат Illuminate\Http\Response

renderForConsole() публичный метод

Render an exception to the console.
public renderForConsole ( Symfony\Component\Console\Output\OutputInterface $output, Exception $e ) : void
$output Symfony\Component\Console\Output\OutputInterface
$e Exception
Результат void

report() публичный метод

Report or log an exception.
public report ( Exception $e ) : void
$e Exception
Результат void

shouldReport() публичный метод

Determine if the exception should be reported.
public shouldReport ( Exception $e ) : boolean
$e Exception
Результат boolean

shouldntReport() защищенный метод

Determine if the exception is in the "do not report" list.
protected shouldntReport ( Exception $e ) : boolean
$e Exception
Результат boolean

Описание свойств

$dontReport защищенное свойство

A list of the exception types that should not be reported.
protected array $dontReport
Результат array