mirror of
https://github.com/Respect/Validation.git
synced 2024-06-09 17:22:20 +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.
49 lines
1.2 KiB
PHP
49 lines
1.2 KiB
PHP
<?php
|
|
return [
|
|
"country" => "Dominican Republic",
|
|
"subdivisions" => [
|
|
"01" => "Distrito Nacional (Santo Domingo)",
|
|
"02" => "Azua",
|
|
"03" => "Baoruco",
|
|
"04" => "Barahona",
|
|
"05" => "Dajabón",
|
|
"06" => "Duarte",
|
|
"07" => "Elías Piña",
|
|
"08" => "El Seibo",
|
|
"09" => "Espaillat",
|
|
"10" => "Independencia",
|
|
"11" => "La Altagracia",
|
|
"12" => "La Romana",
|
|
"13" => "La Vega",
|
|
"14" => "María Trinidad Sánchez",
|
|
"15" => "Monte Cristi",
|
|
"16" => "Pedernales",
|
|
"17" => "Peravia",
|
|
"18" => "Puerto Plata",
|
|
"19" => "Hermanas Mirabal",
|
|
"20" => "Samaná",
|
|
"21" => "San Cristóbal",
|
|
"22" => "San Juan",
|
|
"23" => "San Pedro de Macorís",
|
|
"24" => "Sánchez Ramírez",
|
|
"25" => "Santiago",
|
|
"26" => "Santiago Rodríguez",
|
|
"27" => "Valverde",
|
|
"28" => "Monseñor Nouel",
|
|
"29" => "Monte Plata",
|
|
"30" => "Hato Mayor",
|
|
"31" => "San José de Ocoa",
|
|
"32" => "Santo Domingo",
|
|
"33" => "Cibao Nordeste",
|
|
"34" => "Cibao Noroeste",
|
|
"35" => "Cibao Norte",
|
|
"36" => "Cibao Sur",
|
|
"37" => "El Valle",
|
|
"38" => "Enriquillo",
|
|
"39" => "Higuamo",
|
|
"40" => "Ozama",
|
|
"41" => "Valdesia",
|
|
"42" => "Yuma"
|
|
]
|
|
];
|