Method | Description | |
---|---|---|
addHeaders ( Psr\Http\Message\ResponseInterface $response ) : Psr\Http\Message\ResponseInterface | ||
errorResponse ( string $json ) : |
||
resourceCreatedResponse ( string $json ) : |
||
resourceDeletedResponse ( string $json ) : |
||
resourceNotFoundResponse ( string $json ) : |
||
resourcePatchErrorResponse ( string $json ) : |
||
resourcePostErrorResponse ( string $json ) : |
||
resourceProcessingResponse ( string $json ) : |
||
resourceUpdatedResponse ( string $json ) : |
||
response ( string $json ) : |
||
unsupportedActionResponse ( string $json ) : |
Method | Description | |
---|---|---|
createResponse ( $data ) : |
protected addHeaders ( Psr\Http\Message\ResponseInterface $response ) : Psr\Http\Message\ResponseInterface | ||
$response | Psr\Http\Message\ResponseInterface | |
return | Psr\Http\Message\ResponseInterface |
protected errorResponse ( string $json ) : |
||
$json | string | |
return |
protected resourceCreatedResponse ( string $json ) : |
||
$json | string | |
return |
protected resourceDeletedResponse ( string $json ) : |
||
$json | string | |
return |
protected resourceNotFoundResponse ( string $json ) : |
||
$json | string | |
return |
protected resourcePatchErrorResponse ( string $json ) : |
||
$json | string | |
return |
protected resourcePostErrorResponse ( string $json ) : |
||
$json | string | |
return |
protected resourceProcessingResponse ( string $json ) : |
||
$json | string | |
return |
protected resourceUpdatedResponse ( string $json ) : |
||
$json | string | |
return |
protected unsupportedActionResponse ( string $json ) : |
||
$json | string | |
return |