respect-validation/data/iso_3166-2/SE.php
Alexandre Gomes Gaigalas 6173757f63 Use PHP files and setup a runtime cache for CountryInfo
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.
2023-02-19 00:19:10 -03:00

28 lines
881 B
PHP

<?php
return [
"country" => "Sweden",
"subdivisions" => [
"AB" => "Stockholms län [SE-01]",
"AC" => "Västerbottens län [SE-24]",
"BD" => "Norrbottens län [SE-25]",
"C" => "Uppsala län [SE-03]",
"D" => "Södermanlands län [SE-04]",
"E" => "Östergötlands län [SE-05]",
"F" => "Jönköpings län [SE-06]",
"G" => "Kronobergs län [SE-07]",
"H" => "Kalmar län [SE-08]",
"I" => "Gotlands län [SE-09]",
"K" => "Blekinge län [SE-10]",
"M" => "Skåne län [SE-12]",
"N" => "Hallands län [SE-13]",
"O" => "Västra Götalands län [SE-14]",
"S" => "Värmlands län [SE-17]",
"T" => "Örebro län [SE-18]",
"U" => "Västmanlands län [SE-19]",
"W" => "Dalarnas län [SE-20]",
"X" => "Gävleborgs län [SE-21]",
"Y" => "Västernorrlands län [SE-22]",
"Z" => "Jämtlands län [SE-23]"
]
];