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.
21 lines
441 B
PHP
21 lines
441 B
PHP
<?php
|
|
return [
|
|
"country" => "Syrian Arab Republic",
|
|
"subdivisions" => [
|
|
"DI" => "Dimashq",
|
|
"DR" => "Dar'ā",
|
|
"DY" => "Dayr az Zawr",
|
|
"HA" => "Al Ḩasakah",
|
|
"HI" => "Ḩimş",
|
|
"HL" => "Ḩalab",
|
|
"HM" => "Ḩamāh",
|
|
"ID" => "Idlib",
|
|
"LA" => "Al Lādhiqīyah",
|
|
"QU" => "Al Qunayţirah",
|
|
"RA" => "Ar Raqqah",
|
|
"RD" => "Rīf Dimashq",
|
|
"SU" => "As Suwaydā'",
|
|
"TA" => "Ţarţūs"
|
|
]
|
|
];
|