Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
pragmarx
/
countries
/
src
/
package
/
Support
Location:
/home/zoteqbgb/public_html/vendor/pragmarx/countries/src/package/Support
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: helpers.php
<?php use PragmaRX\Countries\Package\Support\Collection; if (! function_exists('array_sort_by_keys_recursive')) { /** * Recursively sort array by keys. * * @param $array * @return array */ function array_sort_by_keys_recursive(&$array) { if (is_array($array) || arrayable($array)) { $array = arrayable($array) ? $array->toArray() : $array; ksort($array); array_walk($array, 'array_sort_by_keys_recursive'); } } } if (! function_exists('countriesCollect')) { /** * Check if array is multidimensional. * * @param mixed|null $data * @return \PragmaRX\Countries\Package\Support\Collection */ function countriesCollect($data = null) { return new Collection($data); } } if (! function_exists('arrayable')) { /** * Recursively change all array keys case. * * @param $variable * @return bool */ function arrayable($variable) { return is_object($variable) && method_exists($variable, 'toArray'); } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
Base.php
356 bytes
0644
2024-10-06 01:15
âï¸
ðï¸
Rename
Collection.php
3,958 bytes
0644
2024-10-06 01:15
âï¸
ðï¸
Rename
helpers.php
1,090 bytes
0644
2024-10-06 01:15
âï¸
ðï¸
Rename
Chang
Apply