respect-validation/data/iso_3166-2/DE.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

23 lines
511 B
PHP

<?php
return [
"country" => "Germany",
"subdivisions" => [
"BB" => "Brandenburg",
"BE" => "Berlin",
"BW" => "Baden-Württemberg",
"BY" => "Bayern",
"HB" => "Bremen",
"HE" => "Hessen",
"HH" => "Hamburg",
"MV" => "Mecklenburg-Vorpommern",
"NI" => "Niedersachsen",
"NW" => "Nordrhein-Westfalen",
"RP" => "Rheinland-Pfalz",
"SH" => "Schleswig-Holstein",
"SL" => "Saarland",
"SN" => "Sachsen",
"ST" => "Sachsen-Anhalt",
"TH" => "Thüringen"
]
];