mirror of
https://github.com/Respect/Validation.git
synced 2024-06-10 01:32: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.
30 lines
685 B
PHP
30 lines
685 B
PHP
<?php
|
||
return [
|
||
"country" => "Chad",
|
||
"subdivisions" => [
|
||
"BA" => "Al Baţḩā’",
|
||
"BG" => "Bahr el Ghazal",
|
||
"BO" => "Borkou",
|
||
"CB" => "Chari-Baguirmi",
|
||
"EE" => "Ennedi-Est",
|
||
"EO" => "Ennedi-Ouest",
|
||
"GR" => "Guéra",
|
||
"HL" => "Hadjer Lamis",
|
||
"KA" => "Kanem",
|
||
"LC" => "Al Buḩayrah",
|
||
"LO" => "Logone-Occidental",
|
||
"LR" => "Logone-Oriental",
|
||
"MA" => "Mandoul",
|
||
"MC" => "Moyen-Chari",
|
||
"ME" => "Mayo-Kebbi-Est",
|
||
"MO" => "Mayo-Kebbi-Ouest",
|
||
"ND" => "Madīnat Injamīnā",
|
||
"OD" => "Ouaddaï",
|
||
"SA" => "Salamat",
|
||
"SI" => "Sila",
|
||
"TA" => "Tandjilé",
|
||
"TI" => "Tibastī",
|
||
"WF" => "Wadi Fira"
|
||
]
|
||
];
|