mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 02:30:06 +02:00
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.
31 lines
632 B
PHP
31 lines
632 B
PHP
<?php
|
|
return [
|
|
"country" => "Montenegro",
|
|
"subdivisions" => [
|
|
"01" => "Andrijevica",
|
|
"02" => "Bar",
|
|
"03" => "Berane",
|
|
"04" => "Bijelo Polje",
|
|
"05" => "Budva",
|
|
"06" => "Cetinje",
|
|
"07" => "Danilovgrad",
|
|
"08" => "Herceg-Novi",
|
|
"09" => "Kolašin",
|
|
"10" => "Kotor",
|
|
"11" => "Mojkovac",
|
|
"12" => "Nikšić",
|
|
"13" => "Plav",
|
|
"14" => "Pljevlja",
|
|
"15" => "Plužine",
|
|
"16" => "Podgorica",
|
|
"17" => "Rožaje",
|
|
"18" => "Šavnik",
|
|
"19" => "Tivat",
|
|
"20" => "Ulcinj",
|
|
"21" => "Žabljak",
|
|
"22" => "Gusinje",
|
|
"23" => "Petnjica",
|
|
"24" => "Tuzi"
|
|
]
|
|
];
|