메소드 | 설명 | |
---|---|---|
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 ) : |
메소드 | 설명 | |
---|---|---|
createResponse ( $data ) : |
protected addHeaders ( Psr\Http\Message\ResponseInterface $response ) : Psr\Http\Message\ResponseInterface | ||
$response | Psr\Http\Message\ResponseInterface | |
리턴 | Psr\Http\Message\ResponseInterface |
protected errorResponse ( string $json ) : |
||
$json | string | |
리턴 |
protected resourceCreatedResponse ( string $json ) : |
||
$json | string | |
리턴 |
protected resourceDeletedResponse ( string $json ) : |
||
$json | string | |
리턴 |
protected resourceNotFoundResponse ( string $json ) : |
||
$json | string | |
리턴 |
protected resourcePatchErrorResponse ( string $json ) : |
||
$json | string | |
리턴 |
protected resourcePostErrorResponse ( string $json ) : |
||
$json | string | |
리턴 |
protected resourceProcessingResponse ( string $json ) : |
||
$json | string | |
리턴 |
protected resourceUpdatedResponse ( string $json ) : |
||
$json | string | |
리턴 |
protected unsupportedActionResponse ( string $json ) : |
||
$json | string | |
리턴 |