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

41 lines
974 B
PHP

<?php
return [
"country" => "Sri Lanka",
"subdivisions" => [
"1" => "Western Province",
"11" => "Colombo",
"12" => "Gampaha",
"13" => "Kalutara",
"2" => "Central Province",
"21" => "Kandy",
"22" => "Matale",
"23" => "Nuwara Eliya",
"3" => "Southern Province",
"31" => "Galle",
"32" => "Matara",
"33" => "Hambantota",
"4" => "Northern Province",
"41" => "Jaffna",
"42" => "Kilinochchi",
"43" => "Mannar",
"44" => "Vavuniya",
"45" => "Mullaittivu",
"5" => "Eastern Province",
"51" => "Batticaloa",
"52" => "Ampara",
"53" => "Trincomalee",
"6" => "North Western Province",
"61" => "Kurunegala",
"62" => "Puttalam",
"7" => "North Central Province",
"71" => "Anuradhapura",
"72" => "Polonnaruwa",
"8" => "Uva Province",
"81" => "Badulla",
"82" => "Monaragala",
"9" => "Sabaragamuwa Province",
"91" => "Ratnapura",
"92" => "Kegalla"
]
];