mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 02:30:06 +02:00
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.
22 lines
520 B
PHP
22 lines
520 B
PHP
<?php
|
|
return [
|
|
"country" => "Trinidad and Tobago",
|
|
"subdivisions" => [
|
|
"ARI" => "Arima",
|
|
"CHA" => "Chaguanas",
|
|
"CTT" => "Couva-Tabaquite-Talparo",
|
|
"DMN" => "Diego Martin",
|
|
"MRC" => "Mayaro-Rio Claro",
|
|
"PED" => "Penal-Debe",
|
|
"POS" => "Port of Spain",
|
|
"PRT" => "Princes Town",
|
|
"PTF" => "Point Fortin",
|
|
"SFO" => "San Fernando",
|
|
"SGE" => "Sangre Grande",
|
|
"SIP" => "Siparia",
|
|
"SJL" => "San Juan-Laventille",
|
|
"TOB" => "Tobago",
|
|
"TUP" => "Tunapuna-Piarco"
|
|
]
|
|
];
|