mirror of
https://github.com/Respect/Validation.git
synced 2024-06-08 08:42:15 +02:00
6173757f63
Previously, we were loading country info from a JSON file. This changes it to use PHP files instead. It also caches these resources across calls avoiding these files to be loaded more than once per process.
39 lines
973 B
PHP
39 lines
973 B
PHP
<?php
|
|
return [
|
|
"country" => "Bahamas",
|
|
"subdivisions" => [
|
|
"AK" => "Acklins",
|
|
"BI" => "Bimini",
|
|
"BP" => "Black Point",
|
|
"BY" => "Berry Islands",
|
|
"CE" => "Central Eleuthera",
|
|
"CI" => "Cat Island",
|
|
"CK" => "Crooked Island and Long Cay",
|
|
"CO" => "Central Abaco",
|
|
"CS" => "Central Andros",
|
|
"EG" => "East Grand Bahama",
|
|
"EX" => "Exuma",
|
|
"FP" => "City of Freeport",
|
|
"GC" => "Grand Cay",
|
|
"HI" => "Harbour Island",
|
|
"HT" => "Hope Town",
|
|
"IN" => "Inagua",
|
|
"LI" => "Long Island",
|
|
"MC" => "Mangrove Cay",
|
|
"MG" => "Mayaguana",
|
|
"MI" => "Moore's Island",
|
|
"NE" => "North Eleuthera",
|
|
"NO" => "North Abaco",
|
|
"NP" => "New Providence",
|
|
"NS" => "North Andros",
|
|
"RC" => "Rum Cay",
|
|
"RI" => "Ragged Island",
|
|
"SA" => "South Andros",
|
|
"SE" => "South Eleuthera",
|
|
"SO" => "South Abaco",
|
|
"SS" => "San Salvador",
|
|
"SW" => "Spanish Wells",
|
|
"WG" => "West Grand Bahama"
|
|
]
|
|
];
|