src/Yandex/Market/Content/Models/GeoRegions.php
public function add($geoRegion)
    {
        if (is_array($geoRegion)) {
            $this->collection[] = new GeoRegion($geoRegion);
        } elseif (is_object($geoRegion) && $geoRegion instanceof GeoRegion) {
            $this->collection[] = $geoRegion;
        }

        return $this;
    }
public function add($geoRegion)
    {
        if (is_array($geoRegion)) {
            $this->collection[] = new GeoRegion($geoRegion);
        } elseif (is_object($geoRegion) && $geoRegion instanceof GeoRegion) {
            $this->collection[] = $geoRegion;
        }

        return $this;
    }
public function add ( $ geoRegion ) { if ( is_array ( $ geoRegion ) ) { $ this -> collection [ ] = new GeoRegion ( $ geoRegion ) ; } elseif ( is_object ( $ geoRegion ) && $ geoRegion instanceof GeoRegion ) { $ this -> collection [ ] = $ geoRegion ; } return $ this ; }
Add geo region to collection

@param GeoRegion|array $geoRegion

@return GeoRegions
Add geo region to collection