mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 02:30:06 +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
524 B
PHP
25 lines
524 B
PHP
<?php
|
||
return [
|
||
"country" => "Iraq",
|
||
"subdivisions" => [
|
||
"AN" => "Al Anbār",
|
||
"AR" => "Arbīl",
|
||
"BA" => "Al Başrah",
|
||
"BB" => "Bābil",
|
||
"BG" => "Baghdād",
|
||
"DA" => "Dahūk",
|
||
"DI" => "Diyālá",
|
||
"DQ" => "Dhī Qār",
|
||
"KA" => "Karbalā’",
|
||
"KI" => "Kirkūk",
|
||
"MA" => "Maysān",
|
||
"MU" => "Al Muthanná",
|
||
"NA" => "An Najaf",
|
||
"NI" => "Nīnawá",
|
||
"QA" => "Al Qādisīyah",
|
||
"SD" => "Şalāḩ ad Dīn",
|
||
"SU" => "As Sulaymānīyah",
|
||
"WA" => "Wāsiţ"
|
||
]
|
||
];
|