src/Yandex/Market/Content/Clients/ModelClient.php
public function getOpinions($modelId, $params = array())
    {
        $resource = 'model/' . $modelId . '/opinion.json';
        $resource .= '?' . $this->buildQueryString($params);
        $response = $this->getServiceResponse($resource);

        $modelOpinions = new Models\ResponseModelOpinionsGet($response);

        return $modelOpinions;
    }
public function getOpinions($modelId, $params = array())
    {
        $resource = 'model/' . $modelId . '/opinion.json';
        $resource .= '?' . $this->buildQueryString($params);
        $response = $this->getServiceResponse($resource);

        $modelOpinions = new Models\ResponseModelOpinionsGet($response);

        return $modelOpinions;
    }
public function getOpinions ( $ modelId , $ params = array ( ) ) { $ resource = 'model/' . $ modelId . '/opinion.json' ; $ resource .= '?' . $ this -> buildQueryString ( $ params ) ; $ response = $ this -> getServiceResponse ( $ resource ) ; $ modelOpinions = new Models \ ResponseModelOpinionsGet ( $ response ) ; return $ modelOpinions ; }
Get opinions of model

Returns opinions list of Yandex.Market service model.

@see https://tech.yandex.ru/market/content-data/doc/dg/reference/model-id-opinion-docpage/

@param int   $modelId
@param array $params

@return Models\ResponseModelOpinionsGet
Get opinions of model