protected resourcePatchErrorResponse ( string $json ) : |
||
$json | string | |
return |
protected function resourcePatchErrorResponse($json)
{
$error = new Error('Unprocessable Entity', json_decode($json));
return $this->createResponse(new UnprocessableEntity([$error]));
}