Метод | Описание | |
---|---|---|
handle ( Exception $e ) : Tobscure\JsonApi\Exception\Handler\ResponseBag | Handle the exception provided. | |
registerHandler ( Tobscure\JsonApi\Exception\Handler\ExceptionHandlerInterface $handler ) : void | Register a new exception handler. |
public handle ( Exception $e ) : Tobscure\JsonApi\Exception\Handler\ResponseBag | ||
$e | Exception | |
Результат | Tobscure\JsonApi\Exception\Handler\ResponseBag |
public registerHandler ( Tobscure\JsonApi\Exception\Handler\ExceptionHandlerInterface $handler ) : void | ||
$handler | Tobscure\JsonApi\Exception\Handler\ExceptionHandlerInterface | |
Результат | void |