PHP Class Flarum\Api\ErrorHandler

Afficher le fichier Open project: flarum/core Class Usage Examples

Protected Properties

Свойство Type Description
$errorHandler Tobscure\JsonApi\ErrorHandler

Méthodes publiques

Méthode Description
__construct ( ErrorHandler $errorHandler )
handle ( Exception $e ) : JsonApiResponse

Method Details

__construct() public méthode

public __construct ( ErrorHandler $errorHandler )
$errorHandler Tobscure\JsonApi\ErrorHandler

handle() public méthode

public handle ( Exception $e ) : JsonApiResponse
$e Exception
Résultat JsonApiResponse

Property Details

$errorHandler protected_oe property

protected ErrorHandler,Tobscure\JsonApi $errorHandler
Résultat Tobscure\JsonApi\ErrorHandler