respect-validation/data/iso_3166-2/EC.php
Alexandre Gomes Gaigalas 6173757f63 Use PHP files and setup a runtime cache for CountryInfo
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.
2023-02-19 00:19:10 -03:00

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"
]
];