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.
29 lines
640 B
PHP
29 lines
640 B
PHP
<?php
|
|
return [
|
|
"country" => "Guatemala",
|
|
"subdivisions" => [
|
|
"AV" => "Alta Verapaz",
|
|
"BV" => "Baja Verapaz",
|
|
"CM" => "Chimaltenango",
|
|
"CQ" => "Chiquimula",
|
|
"ES" => "Escuintla",
|
|
"GU" => "Guatemala",
|
|
"HU" => "Huehuetenango",
|
|
"IZ" => "Izabal",
|
|
"JA" => "Jalapa",
|
|
"JU" => "Jutiapa",
|
|
"PE" => "Petén",
|
|
"PR" => "El Progreso",
|
|
"QC" => "Quiché",
|
|
"QZ" => "Quetzaltenango",
|
|
"RE" => "Retalhuleu",
|
|
"SA" => "Sacatepéquez",
|
|
"SM" => "San Marcos",
|
|
"SO" => "Sololá",
|
|
"SR" => "Santa Rosa",
|
|
"SU" => "Suchitepéquez",
|
|
"TO" => "Totonicapán",
|
|
"ZA" => "Zacapa"
|
|
]
|
|
];
|