mirror of
https://github.com/Respect/Validation.git
synced 2024-06-09 01:02:16 +02:00
6173757f63
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.
15 lines
323 B
PHP
15 lines
323 B
PHP
<?php
|
|
return [
|
|
"country" => "Australia",
|
|
"subdivisions" => [
|
|
"ACT" => "Australian Capital Territory",
|
|
"NSW" => "New South Wales",
|
|
"NT" => "Northern Territory",
|
|
"QLD" => "Queensland",
|
|
"SA" => "South Australia",
|
|
"TAS" => "Tasmania",
|
|
"VIC" => "Victoria",
|
|
"WA" => "Western Australia"
|
|
]
|
|
];
|