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

24 lines
535 B
PHP

<?php
return [
"country" => "New Zealand",
"subdivisions" => [
"AUK" => "Auckland",
"BOP" => "Bay of Plenty",
"CAN" => "Canterbury",
"CIT" => "Chatham Islands Territory",
"GIS" => "Gisborne",
"HKB" => "Hawke's Bay",
"MBH" => "Marlborough",
"MWT" => "Manawatu-Wanganui",
"NSN" => "Nelson",
"NTL" => "Northland",
"OTA" => "Otago",
"STL" => "Southland",
"TAS" => "Tasman",
"TKI" => "Taranaki",
"WGN" => "Wellington",
"WKO" => "Waikato",
"WTC" => "West Coast"
]
];