respect-validation/data/iso_3166-2/CL.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

23 lines
559 B
PHP

<?php
return [
"country" => "Chile",
"subdivisions" => [
"AI" => "Aisén del General Carlos Ibañez del Campo",
"AN" => "Antofagasta",
"AP" => "Arica y Parinacota",
"AR" => "La Araucanía",
"AT" => "Atacama",
"BI" => "Biobío",
"CO" => "Coquimbo",
"LI" => "Libertador General Bernardo O'Higgins",
"LL" => "Los Lagos",
"LR" => "Los Ríos",
"MA" => "Magallanes",
"ML" => "Maule",
"NB" => "Ñuble",
"RM" => "Región Metropolitana de Santiago",
"TA" => "Tarapacá",
"VS" => "Valparaíso"
]
];