PHP Class NilPortugues\Laravel5\JsonApi\Actions\CreateResource

Inheritance: extends NilPortugues\Api\JsonApi\Server\Actions\CreateResource
Afficher le fichier Open project: nilportugues/laravel5-jsonapi Class Usage Examples

Méthodes publiques

Méthode Description
getErrorResponse ( Exception $e, NilPortugues\Api\JsonApi\Server\Errors\ErrorBag $errorBag ) : Response

Method Details

getErrorResponse() public méthode

public getErrorResponse ( Exception $e, NilPortugues\Api\JsonApi\Server\Errors\ErrorBag $errorBag ) : Response
$e Exception
$errorBag NilPortugues\Api\JsonApi\Server\Errors\ErrorBag
Résultat Symfony\Component\HttpFoundation\Response