src/Yandex/Market/Content/ContentClient.php
protected function getServiceResponse($resource)
    {
        $response = $this->sendRequest('GET', $this->getServiceUrl($resource));
        $decodedResponseBody = $this->getDecodedBody($response->getBody());

        return $decodedResponseBody;
    }
protected function getServiceResponse($resource)
    {
        $response = $this->sendRequest('GET', $this->getServiceUrl($resource));
        $decodedResponseBody = $this->getDecodedBody($response->getBody());

        return $decodedResponseBody;
    }
protected function getServiceResponse ( $ resource ) { $ response = $ this -> sendRequest ( 'GET' , $ this -> getServiceUrl ( $ resource ) ) ; $ decodedResponseBody = $ this -> getDecodedBody ( $ response -> getBody ( ) ) ; return $ decodedResponseBody ; }
Returns API service response.

@param  string $resource
@return array
@throws ContentRequestException
@throws ForbiddenException
@throws UnauthorizedException
Returns API service response .