Punic\Territory::getContinents PHP Метод

getContinents() публичный статический Метод

Return the list of continents in the form of an array with key=ID, value=name.
public static getContinents ( string $locale = '' ) : array
$locale string The locale to use. If empty we'll use the default locale set in \Punic\Data
Результат array
    public static function getContinents($locale = '')
    {
        return static::getList('C', $locale);
    }