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

        $geoRegionChildren = new Models\ResponseGeoRegionChildrenGet($response);

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

        $geoRegionChildren = new Models\ResponseGeoRegionChildrenGet($response);

        return $geoRegionChildren;
    }
public function getChildren ( $ regionId , $ params = array ( ) ) { $ resource = 'georegion/' . $ regionId . '/children.json' ; $ resource .= '?' . $ this -> buildQueryString ( $ params ) ; $ response = $ this -> getServiceResponse ( $ resource ) ; $ geoRegionChildren = new Models \ ResponseGeoRegionChildrenGet ( $ response ) ; return $ geoRegionChildren ; }
Get children of geo region

Returns children list of Yandex.Market service geo region.

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

@param int   $regionId
@param array $params

@return Models\ResponseGeoRegionChildrenGet
Get children of geo region