mirror of
https://github.com/Respect/Validation.git
synced 2024-06-26 09:10:08 +02:00
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.
12 lines
208 B
PHP
12 lines
208 B
PHP
<?php
|
|
return [
|
|
"country" => "Singapore",
|
|
"subdivisions" => [
|
|
"01" => "Central Singapore",
|
|
"02" => "North East",
|
|
"03" => "North West",
|
|
"04" => "South East",
|
|
"05" => "South West"
|
|
]
|
|
];
|