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

33 lines
709 B
PHP

<?php
return [
"country" => "Peru",
"subdivisions" => [
"AMA" => "Amarumayu",
"ANC" => "Ancash",
"APU" => "Apurimaq",
"ARE" => "Arequipa",
"AYA" => "Ayacucho",
"CAJ" => "Cajamarca",
"CAL" => "El Callao",
"CUS" => "Cusco",
"HUC" => "Huánuco",
"HUV" => "Huancavelica",
"ICA" => "Ica",
"JUN" => "Hunin",
"LAL" => "La Libertad",
"LAM" => "Lambayeque",
"LIM" => "Lima",
"LMA" => "Lima hatun llaqta",
"LOR" => "Loreto",
"MDD" => "Madre de Dios",
"MOQ" => "Moquegua",
"PAS" => "Pasco",
"PIU" => "Piura",
"PUN" => "Puno",
"SAM" => "San Martin",
"TAC" => "Tacna",
"TUM" => "Tumbes",
"UCA" => "Ucayali"
]
];