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.
18 lines
374 B
PHP
18 lines
374 B
PHP
<?php
|
|
return [
|
|
"country" => "Barbados",
|
|
"subdivisions" => [
|
|
"01" => "Christ Church",
|
|
"02" => "Saint Andrew",
|
|
"03" => "Saint George",
|
|
"04" => "Saint James",
|
|
"05" => "Saint John",
|
|
"06" => "Saint Joseph",
|
|
"07" => "Saint Lucy",
|
|
"08" => "Saint Michael",
|
|
"09" => "Saint Peter",
|
|
"10" => "Saint Philip",
|
|
"11" => "Saint Thomas"
|
|
]
|
|
];
|