mirror of
https://github.com/Respect/Validation.git
synced 2024-06-02 05:42:16 +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.
25 lines
534 B
PHP
25 lines
534 B
PHP
<?php
|
|
return [
|
|
"country" => "Sudan",
|
|
"subdivisions" => [
|
|
"DC" => "Central Darfur",
|
|
"DE" => "East Darfur",
|
|
"DN" => "North Darfur",
|
|
"DS" => "South Darfur",
|
|
"DW" => "West Darfur",
|
|
"GD" => "Gedaref",
|
|
"GK" => "West Kordofan",
|
|
"GZ" => "Gezira",
|
|
"KA" => "Kassala",
|
|
"KH" => "Khartoum",
|
|
"KN" => "North Kordofan",
|
|
"KS" => "South Kordofan",
|
|
"NB" => "Blue Nile",
|
|
"NO" => "Northern",
|
|
"NR" => "River Nile",
|
|
"NW" => "White Nile",
|
|
"RS" => "Red Sea",
|
|
"SI" => "Sennar"
|
|
]
|
|
];
|