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
319 B
PHP
16 lines
319 B
PHP
<?php
|
|
return [
|
|
"country" => "San Marino",
|
|
"subdivisions" => [
|
|
"01" => "Acquaviva",
|
|
"02" => "Chiesanuova",
|
|
"03" => "Domagnano",
|
|
"04" => "Faetano",
|
|
"05" => "Fiorentino",
|
|
"06" => "Borgo Maggiore",
|
|
"07" => "Città di San Marino",
|
|
"08" => "Montegiardino",
|
|
"09" => "Serravalle"
|
|
]
|
|
];
|