src/Iso3166.php
public static function all()
    {
        $countries = array_values(static::$countries);

        array_walk($countries, function (&$value) {
            $value = new Country($value);
        });

        return $countries;
    }
public static function all()
    {
        $countries = array_values(static::$countries);

        array_walk($countries, function (&$value) {
            $value = new Country($value);
        });

        return $countries;
    }
public static function all ( ) { $ countries = array_values ( static :: $ countries ) ; array_walk ( $ countries , function ( & $ value ) { $ value = new Country ( $ value ) ; } ) ; return $ countries ; }
Return all countries as a numerically-keyed array.

@return array
Return all countries as a numerically - keyed array .