PHP Class Flarum\Api\Handler\IlluminateValidationExceptionHandler

Inheritance: implements Tobscure\JsonApi\Exception\Handler\ExceptionHandlerInterface
显示文件 Open project: flarum/core

Public Methods

Method Description
handle ( Exception $e )
manages ( Exception $e )

Protected Methods

Method Description
formatErrors ( array $errors ) : array

Method Details

formatErrors() protected method

protected formatErrors ( array $errors ) : array
$errors array
return array

handle() public method

public handle ( Exception $e )
$e Exception

manages() public method

public manages ( Exception $e )
$e Exception