EndpointTrait
Table of Contents
-
parseResponse()
: mixed
-
transformResponseBody()
: mixed
parseResponse()
public
parseResponse(ResponseInterface $response, SerializerInterface $serializer[, string $fetchMode = Client::FETCH_OBJECT ]) : mixed
Parameters
-
$response
: ResponseInterface
-
-
$serializer
: SerializerInterface
-
-
$fetchMode
: string
= Client::FETCH_OBJECT
-
Return values
mixed
—
transformResponseBody()
protected
abstract transformResponseBody(string $body, int $status, SerializerInterface $serializer[, string $contentType = null ]) : mixed
Parameters
-
$body
: string
-
-
$status
: int
-
-
$serializer
: SerializerInterface
-
-
$contentType
: string
= null
-
Return values
mixed
—