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

50 lines
1.2 KiB
PHP

<?php
return [
"country" => "Hungary",
"subdivisions" => [
"BA" => "Baranya",
"BC" => "Békéscsaba",
"BE" => "Békés",
"BK" => "Bács-Kiskun",
"BU" => "Budapest",
"BZ" => "Borsod-Abaúj-Zemplén",
"CS" => "Csongrád",
"DE" => "Debrecen",
"DU" => "Dunaújváros",
"EG" => "Eger",
"ER" => "Érd",
"FE" => "Fejér",
"GS" => "Győr-Moson-Sopron",
"GY" => "Győr",
"HB" => "Hajdú-Bihar",
"HE" => "Heves",
"HV" => "Hódmezővásárhely",
"JN" => "Jász-Nagykun-Szolnok",
"KE" => "Komárom-Esztergom",
"KM" => "Kecskemét",
"KV" => "Kaposvár",
"MI" => "Miskolc",
"NK" => "Nagykanizsa",
"NO" => "Nógrád",
"NY" => "Nyíregyháza",
"PE" => "Pest",
"PS" => "Pécs",
"SD" => "Szeged",
"SF" => "Székesfehérvár",
"SH" => "Szombathely",
"SK" => "Szolnok",
"SN" => "Sopron",
"SO" => "Somogy",
"SS" => "Szekszárd",
"ST" => "Salgótarján",
"SZ" => "Szabolcs-Szatmár-Bereg",
"TB" => "Tatabánya",
"TO" => "Tolna",
"VA" => "Vas",
"VE" => "Veszprém",
"VM" => "Veszprém",
"ZA" => "Zala",
"ZE" => "Zalaegerszeg"
]
];