mirror of
https://github.com/Respect/Validation.git
synced 2024-06-10 01:32:15 +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.
20 lines
442 B
PHP
20 lines
442 B
PHP
<?php
|
|
return [
|
|
"country" => "Norway",
|
|
"subdivisions" => [
|
|
"03" => "Oslo",
|
|
"11" => "Rogaland",
|
|
"15" => "Møre og Romsdal",
|
|
"18" => "Nordland",
|
|
"21" => "Svalbard (Arctic Region)",
|
|
"22" => "Jan Mayen (Arctic Region)",
|
|
"30" => "Viken",
|
|
"34" => "Innlandet",
|
|
"38" => "Vestfold og Telemark",
|
|
"42" => "Agder",
|
|
"46" => "Vestland",
|
|
"50" => "Trööndelage",
|
|
"54" => "Romssa ja Finnmárkku"
|
|
]
|
|
];
|