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.
24 lines
676 B
PHP
24 lines
676 B
PHP
<?php
|
|
return [
|
|
"country" => "Kazakhstan",
|
|
"subdivisions" => [
|
|
"AKM" => "Akmolinskaja oblast'",
|
|
"AKT" => "Aktjubinskaja oblast'",
|
|
"ALA" => "Almaty",
|
|
"ALM" => "Almatinskaja oblast'",
|
|
"AST" => "Nur-Sultan",
|
|
"ATY" => "Atyrauskaja oblast'",
|
|
"KAR" => "Karagandinskaja oblast'",
|
|
"KUS" => "Kostanajskaja oblast'",
|
|
"KZY" => "Kyzylordinskaja oblast'",
|
|
"MAN" => "Mangghystaū oblysy",
|
|
"PAV" => "Pavlodar oblysy",
|
|
"SEV" => "Severo-Kazahstanskaja oblast'",
|
|
"SHY" => "Shymkent",
|
|
"VOS" => "Shyghys Qazaqstan oblysy",
|
|
"YUZ" => "Turkestankaya oblast'",
|
|
"ZAP" => "Batys Qazaqstan oblysy",
|
|
"ZHA" => "Zhambyl oblysy"
|
|
]
|
|
];
|