src/Yandex/Market/Content/Clients/CategoryClient.php
public function getModels($categoryId, $params = array())
    {
        $resource = 'category/' . $categoryId . '/models.json';
        $resource .= '?' . $this->buildQueryString($params);
        $response = $this->getServiceResponse($resource);

        $getCategoryModelsResponse = new Models\ResponseCategoryGetModels($response);

        return $getCategoryModelsResponse;
    }
public function getModels($categoryId, $params = array())
    {
        $resource = 'category/' . $categoryId . '/models.json';
        $resource .= '?' . $this->buildQueryString($params);
        $response = $this->getServiceResponse($resource);

        $getCategoryModelsResponse = new Models\ResponseCategoryGetModels($response);

        return $getCategoryModelsResponse;
    }
public function getModels ( $ categoryId , $ params = array ( ) ) { $ resource = 'category/' . $ categoryId . '/models.json' ; $ resource .= '?' . $ this -> buildQueryString ( $ params ) ; $ response = $ this -> getServiceResponse ( $ resource ) ; $ getCategoryModelsResponse = new Models \ ResponseCategoryGetModels ( $ response ) ; return $ getCategoryModelsResponse ; }
Get models in category

Returns models list represented in category of Yandex.Market service according to params.

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

@param int   $categoryId
@param array $params

@return Models\ResponseCategoryGetModels
Get models in category