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

        $getCategoryResponse = new Models\ResponseCategoryGetList($response);

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

        $getCategoryResponse = new Models\ResponseCategoryGetList($response);

        return $getCategoryResponse;
    }
public function getChildren ( $ categoryId , $ params = array ( ) ) { $ resource = 'category/' . $ categoryId . '/children.json' ; $ resource .= '?' . $ this -> buildQueryString ( $ params ) ; $ response = $ this -> getServiceResponse ( $ resource ) ; $ getCategoryResponse = new Models \ ResponseCategoryGetList ( $ response ) ; return $ getCategoryResponse ; }
Get children categories

Returns children categories list of Yandex.Market service according to params.

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

@param int   $categoryId
@param array $params

@return Models\ResponseCategoryGetList
Get children categories