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.
23 lines
500 B
PHP
23 lines
500 B
PHP
<?php
|
|
return [
|
|
"country" => "Cuba",
|
|
"subdivisions" => [
|
|
"01" => "Pinar del Río",
|
|
"03" => "La Habana",
|
|
"04" => "Matanzas",
|
|
"05" => "Villa Clara",
|
|
"06" => "Cienfuegos",
|
|
"07" => "Sancti Spíritus",
|
|
"08" => "Ciego de Ávila",
|
|
"09" => "Camagüey",
|
|
"10" => "Las Tunas",
|
|
"11" => "Holguín",
|
|
"12" => "Granma",
|
|
"13" => "Santiago de Cuba",
|
|
"14" => "Guantánamo",
|
|
"15" => "Artemisa",
|
|
"16" => "Mayabeque",
|
|
"99" => "Isla de la Juventud"
|
|
]
|
|
];
|