mirror of
https://github.com/Respect/Validation.git
synced 2024-06-26 09:10:08 +02:00
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.
25 lines
507 B
PHP
25 lines
507 B
PHP
<?php
|
|
return [
|
|
"country" => "Somalia",
|
|
"subdivisions" => [
|
|
"AW" => "Awdal",
|
|
"BK" => "Bakool",
|
|
"BN" => "Banaadir",
|
|
"BR" => "Bari",
|
|
"BY" => "Bay",
|
|
"GA" => "Galguduud",
|
|
"GE" => "Gedo",
|
|
"HI" => "Hiiraan",
|
|
"JD" => "Jubbada Dhexe",
|
|
"JH" => "Jubbada Hoose",
|
|
"MU" => "Mudug",
|
|
"NU" => "Nugaal",
|
|
"SA" => "Sanaag",
|
|
"SD" => "Shabeellaha Dhexe",
|
|
"SH" => "Shabeellaha Hoose",
|
|
"SO" => "Sool",
|
|
"TO" => "Togdheer",
|
|
"WO" => "Woqooyi Galbeed"
|
|
]
|
|
];
|