Property | Type | Description | |
---|---|---|---|
$countries | array |
Method | Description | |
---|---|---|
getAll ( ) : array | ||
getByAlpha2 ( string $alpha2 ) : array | Lookup ISO3166-1 data by alpha2 identifier. | |
getByAlpha3 ( string $alpha3 ) : array | Lookup ISO3166-1 data by alpha3 identifier. | |
getByCode ( string $code ) : array | ||
getByNumeric ( string $numeric ) : array | Lookup ISO3166-1 data by numeric identifier (numerical string, that is). | |
getIterator ( ) : Generator | ||
listBy ( string $listBy = self::KEY_ALPHA2 ) : Generator |
Method | Description | |
---|---|---|
get ( string $id ) : array | Lookup ISO3166-1 data by given identifier. |
public getByAlpha2 ( string $alpha2 ) : array | ||
$alpha2 | string | |
return | array |
public getByAlpha3 ( string $alpha3 ) : array | ||
$alpha3 | string | |
return | array |
public getByNumeric ( string $numeric ) : array | ||
$numeric | string | |
return | array |