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.
22 lines
470 B
PHP
22 lines
470 B
PHP
<?php
|
|
return [
|
|
"country" => "Mauritania",
|
|
"subdivisions" => [
|
|
"01" => "Hodh ech Chargui",
|
|
"02" => "Hodh el Gharbi",
|
|
"03" => "Assaba",
|
|
"04" => "Gorgol",
|
|
"05" => "Brakna",
|
|
"06" => "Trarza",
|
|
"07" => "Adrar",
|
|
"08" => "Dakhlet Nouâdhibou",
|
|
"09" => "Tagant",
|
|
"10" => "Guidimaka",
|
|
"11" => "Tiris Zemmour",
|
|
"12" => "Inchiri",
|
|
"13" => "Nouakchott Ouest",
|
|
"14" => "Nouakchott Nord",
|
|
"15" => "Nouakchott Sud"
|
|
]
|
|
];
|