mirror of
https://github.com/Respect/Validation.git
synced 2024-06-02 05:42: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.
16 lines
313 B
PHP
16 lines
313 B
PHP
<?php
|
|
return [
|
|
"country" => "South Africa",
|
|
"subdivisions" => [
|
|
"EC" => "Eastern Cape",
|
|
"FS" => "Free State",
|
|
"GP" => "Gauteng",
|
|
"KZN" => "Kwazulu-Natal",
|
|
"LP" => "Limpopo",
|
|
"MP" => "Mpumalanga",
|
|
"NC" => "Northern Cape",
|
|
"NW" => "North-West",
|
|
"WC" => "Western Cape"
|
|
]
|
|
];
|