mirror of
https://github.com/Respect/Validation.git
synced 2024-06-02 05:42:16 +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.
17 lines
347 B
PHP
17 lines
347 B
PHP
<?php
|
|
return [
|
|
"country" => "Solomon Islands",
|
|
"subdivisions" => [
|
|
"CE" => "Central",
|
|
"CH" => "Choiseul",
|
|
"CT" => "Capital Territory (Honiara)",
|
|
"GU" => "Guadalcanal",
|
|
"IS" => "Isabel",
|
|
"MK" => "Makira-Ulawa",
|
|
"ML" => "Malaita",
|
|
"RB" => "Rennell and Bellona",
|
|
"TE" => "Temotu",
|
|
"WE" => "Western"
|
|
]
|
|
];
|