mirror of
https://github.com/Respect/Validation.git
synced 2024-06-09 01:02: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.
14 lines
308 B
PHP
14 lines
308 B
PHP
<?php
|
|
return [
|
|
"country" => "Belarus",
|
|
"subdivisions" => [
|
|
"BR" => "Bresckaja voblasć",
|
|
"HM" => "Gorod Minsk",
|
|
"HO" => "Gomel'skaja oblast'",
|
|
"HR" => "Grodnenskaja oblast'",
|
|
"MA" => "Mahilioŭskaja voblasć",
|
|
"MI" => "Minskaja oblast'",
|
|
"VI" => "Viciebskaja voblasć"
|
|
]
|
|
];
|