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
341 B
PHP
17 lines
341 B
PHP
<?php
|
|
return [
|
|
"country" => "Dominica",
|
|
"subdivisions" => [
|
|
"02" => "Saint Andrew",
|
|
"03" => "Saint David",
|
|
"04" => "Saint George",
|
|
"05" => "Saint John",
|
|
"06" => "Saint Joseph",
|
|
"07" => "Saint Luke",
|
|
"08" => "Saint Mark",
|
|
"09" => "Saint Patrick",
|
|
"10" => "Saint Paul",
|
|
"11" => "Saint Peter"
|
|
]
|
|
];
|