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.
31 lines
767 B
PHP
31 lines
767 B
PHP
<?php
|
|
return [
|
|
"country" => "Cabo Verde",
|
|
"subdivisions" => [
|
|
"B" => "Ilhas de Barlavento",
|
|
"BR" => "Brava",
|
|
"BV" => "Boa Vista",
|
|
"CA" => "Santa Catarina",
|
|
"CF" => "Santa Catarina do Fogo",
|
|
"CR" => "Santa Cruz",
|
|
"MA" => "Maio",
|
|
"MO" => "Mosteiros",
|
|
"PA" => "Paul",
|
|
"PN" => "Porto Novo",
|
|
"PR" => "Praia",
|
|
"RB" => "Ribeira Brava",
|
|
"RG" => "Ribeira Grande",
|
|
"RS" => "Ribeira Grande de Santiago",
|
|
"S" => "Ilhas de Sotavento",
|
|
"SD" => "São Domingos",
|
|
"SF" => "São Filipe",
|
|
"SL" => "Sal",
|
|
"SM" => "São Miguel",
|
|
"SO" => "São Lourenço dos Órgãos",
|
|
"SS" => "São Salvador do Mundo",
|
|
"SV" => "São Vicente",
|
|
"TA" => "Tarrafal",
|
|
"TS" => "Tarrafal de São Nicolau"
|
|
]
|
|
];
|