src/ServiceClient.php
private function transformResponseToResult(
        ResponseInterface $response,
        RequestInterface $request,
        CommandInterface $command
    ) {
        $transform = $this->responseToResultTransformer;

        return $transform($response, $request, $command);
    }
private function transformResponseToResult(
        ResponseInterface $response,
        RequestInterface $request,
        CommandInterface $command
    ) {
        $transform = $this->responseToResultTransformer;

        return $transform($response, $request, $command);
    }
private function transformResponseToResult ( ResponseInterface $ response , RequestInterface $ request , CommandInterface $ command ) { $ transform = $ this -> responseToResultTransformer ; return $ transform ( $ response , $ request , $ command ) ; }
Transforms a Response object, also using data from the Request object,
into a Result object.

@param ResponseInterface $response
@param RequestInterface $request
@param CommandInterface $command
@return ResultInterface
Transforms a Response object also using data from the Request object into a Result object .