PHP 클래스 WoohooLabs\Yin\JsonApi\Serializer\DefaultSerializer
파일 보기
프로젝트 열기: woohoolabs/yin
공개 메소드들
메소드 |
설명 |
|
getBodyAsString ( Psr\Http\Message\ResponseInterface $response ) : string |
|
|
serialize ( Psr\Http\Message\ResponseInterface $response, integer $responseCode, array $content ) : Psr\Http\Message\ResponseInterface |
|
|
메소드 상세
public getBodyAsString ( Psr\Http\Message\ResponseInterface $response ) : string |
$response |
Psr\Http\Message\ResponseInterface |
|
리턴 |
string |
|
public serialize ( Psr\Http\Message\ResponseInterface $response, integer $responseCode, array $content ) : Psr\Http\Message\ResponseInterface |
$response |
Psr\Http\Message\ResponseInterface |
|
$responseCode |
integer |
|
$content |
array |
|
리턴 |
Psr\Http\Message\ResponseInterface |
|