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

33 lines
713 B
PHP

<?php
return [
"country" => "Switzerland",
"subdivisions" => [
"AG" => "Aargau",
"AI" => "Appenzell Innerrhoden",
"AR" => "Appenzell Ausserrhoden",
"BE" => "Bern",
"BL" => "Basel-Landschaft",
"BS" => "Basel-Stadt",
"FR" => "Freiburg",
"GE" => "Genève",
"GL" => "Glarus",
"GR" => "Graubünden",
"JU" => "Jura",
"LU" => "Luzern",
"NE" => "Neuchâtel",
"NW" => "Nidwalden",
"OW" => "Obwalden",
"SG" => "Sankt Gallen",
"SH" => "Schaffhausen",
"SO" => "Solothurn",
"SZ" => "Schwyz",
"TG" => "Thurgau",
"TI" => "Ticino",
"UR" => "Uri",
"VD" => "Vaud",
"VS" => "Valais",
"ZG" => "Zug",
"ZH" => "Zürich"
]
];