PHP Интерфейс Tobscure\JsonApi\Exception\Handler\ExceptionHandlerInterface

Показать файл Открыть проект

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

Метод Описание
handle ( Exception $e ) : Tobscure\JsonApi\Exception\Handler\ResponseBag Handle the provided exception.
manages ( Exception $e ) : boolean If the exception handler is able to format a response for the provided exception, then the implementation should return true.

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

handle() публичный Метод

Handle the provided exception.
public handle ( Exception $e ) : Tobscure\JsonApi\Exception\Handler\ResponseBag
$e Exception
Результат Tobscure\JsonApi\Exception\Handler\ResponseBag

manages() публичный Метод

If the exception handler is able to format a response for the provided exception, then the implementation should return true.
public manages ( Exception $e ) : boolean
$e Exception
Результат boolean