PHP 인터페이스 Tobscure\JsonApi\Exception\Handler\ExceptionHandlerInterface

파일 보기 프로젝트 열기: tobscure/json-api

공개 메소드들

메소드 설명
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