PHP 트레잇 NilPortugues\Symfony\JsonApiBundle\Serializer\JsonApiResponseTrait

파일 보기 프로젝트 열기: nilportugues/symfony-jsonapi

보호된 메소드들

메소드 설명
addHeaders ( Psr\Http\Message\ResponseInterface $response ) : Psr\Http\Message\ResponseInterface
errorResponse ( string $json ) : Response
resourceCreatedResponse ( string $json ) : Response
resourceDeletedResponse ( string $json ) : Response
resourceNotFoundResponse ( string $json ) : Response
resourcePatchErrorResponse ( string $json ) : Response
resourcePostErrorResponse ( string $json ) : Response
resourceProcessingResponse ( string $json ) : Response
resourceUpdatedResponse ( string $json ) : Response
response ( string $json ) : Response
unsupportedActionResponse ( string $json ) : Response

비공개 메소드들

메소드 설명
createResponse ( $data ) : Response

메소드 상세

addHeaders() 보호된 메소드

protected addHeaders ( Psr\Http\Message\ResponseInterface $response ) : Psr\Http\Message\ResponseInterface
$response Psr\Http\Message\ResponseInterface
리턴 Psr\Http\Message\ResponseInterface

errorResponse() 보호된 메소드

protected errorResponse ( string $json ) : Response
$json string
리턴 Symfony\Component\HttpFoundation\Response

resourceCreatedResponse() 보호된 메소드

protected resourceCreatedResponse ( string $json ) : Response
$json string
리턴 Symfony\Component\HttpFoundation\Response

resourceDeletedResponse() 보호된 메소드

protected resourceDeletedResponse ( string $json ) : Response
$json string
리턴 Symfony\Component\HttpFoundation\Response

resourceNotFoundResponse() 보호된 메소드

protected resourceNotFoundResponse ( string $json ) : Response
$json string
리턴 Symfony\Component\HttpFoundation\Response

resourcePatchErrorResponse() 보호된 메소드

protected resourcePatchErrorResponse ( string $json ) : Response
$json string
리턴 Symfony\Component\HttpFoundation\Response

resourcePostErrorResponse() 보호된 메소드

protected resourcePostErrorResponse ( string $json ) : Response
$json string
리턴 Symfony\Component\HttpFoundation\Response

resourceProcessingResponse() 보호된 메소드

protected resourceProcessingResponse ( string $json ) : Response
$json string
리턴 Symfony\Component\HttpFoundation\Response

resourceUpdatedResponse() 보호된 메소드

protected resourceUpdatedResponse ( string $json ) : Response
$json string
리턴 Symfony\Component\HttpFoundation\Response

response() 보호된 메소드

protected response ( string $json ) : Response
$json string
리턴 Symfony\Component\HttpFoundation\Response

unsupportedActionResponse() 보호된 메소드

protected unsupportedActionResponse ( string $json ) : Response
$json string
리턴 Symfony\Component\HttpFoundation\Response