src/Didww/API2/Country.php
public static function getAll($iso = NULL)
    {
        $countries = array();
        $response = self::getClientInstance()->call("getdidwwcountries", array('country_iso' => $iso)
        );
        foreach ($response as $c) {
            $country = new Country((array)$c);
            $countries[$country->getCountryIso()] = $country;
        }
        return $countries;
    }
public static function getAll($iso = NULL)
    {
        $countries = array();
        $response = self::getClientInstance()->call("getdidwwcountries", array('country_iso' => $iso)
        );
        foreach ($response as $c) {
            $country = new Country((array)$c);
            $countries[$country->getCountryIso()] = $country;
        }
        return $countries;
    }
Method to get regions from DIDWW API

@link http://open.didww.com/index.php/1._Get_DIDWW_Regions} read for details of API method
@param string $iso if isset, returns only this country
@return \Didww\API2\Country[]