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

37 lines
743 B
PHP

<?php
return [
"country" => "Ireland",
"subdivisions" => [
"C" => "Connaught",
"CE" => "Clare",
"CN" => "Cavan",
"CO" => "Cork",
"CW" => "Carlow",
"D" => "Dublin",
"DL" => "Donegal",
"G" => "Galway",
"KE" => "Kildare",
"KK" => "Kilkenny",
"KY" => "Kerry",
"L" => "Leinster",
"LD" => "Longford",
"LH" => "Louth",
"LK" => "Limerick",
"LM" => "Leitrim",
"LS" => "Laois",
"M" => "Munster",
"MH" => "Meath",
"MN" => "Monaghan",
"MO" => "Mayo",
"OY" => "Offaly",
"RN" => "Roscommon",
"SO" => "Sligo",
"TA" => "Tipperary",
"U" => "Ulster",
"WD" => "Waterford",
"WH" => "Westmeath",
"WW" => "Wicklow",
"WX" => "Wexford"
]
];