PHP 클래스 SampleExceptionHandler, laravel-mediable

상속: use trait Plank\Mediable\HandlesMediaUploadExceptions
파일 보기 프로젝트 열기: plank/laravel-mediable

공개 메소드들

메소드 설명
render ( Exception $e ) : Symfony\Component\HttpKernel\Exception\HttpException | Exception Render an exception into a HttpException for testing purposes.

메소드 상세

render() 공개 메소드

In laravel's exception handler we would call transformMediaUploadException() inside the render() method, but instead of returning its result, we would pass it to the parent::render().
public render ( Exception $e ) : Symfony\Component\HttpKernel\Exception\HttpException | Exception
$e Exception
리턴 Symfony\Component\HttpKernel\Exception\HttpException | Exception