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.
31 lines
655 B
PHP
31 lines
655 B
PHP
<?php
|
|
return [
|
|
"country" => "Ecuador",
|
|
"subdivisions" => [
|
|
"A" => "Azuay",
|
|
"B" => "Bolívar",
|
|
"C" => "Carchi",
|
|
"D" => "Orellana",
|
|
"E" => "Esmeraldas",
|
|
"F" => "Cañar",
|
|
"G" => "Guayas",
|
|
"H" => "Chimborazo",
|
|
"I" => "Imbabura",
|
|
"L" => "Loja",
|
|
"M" => "Manabí",
|
|
"N" => "Napo",
|
|
"O" => "El Oro",
|
|
"P" => "Pichincha",
|
|
"R" => "Los Ríos",
|
|
"S" => "Morona Santiago",
|
|
"SD" => "Santo Domingo de los Tsáchilas",
|
|
"SE" => "Santa Elena",
|
|
"T" => "Tungurahua",
|
|
"U" => "Sucumbíos",
|
|
"W" => "Galápagos",
|
|
"X" => "Cotopaxi",
|
|
"Y" => "Pastaza",
|
|
"Z" => "Zamora Chinchipe"
|
|
]
|
|
];
|