Habari\SuperGlobal::map PHP Метод

map() публичный Метод

Apply a map function to this array, like array_map()
public map ( callback $fn ) : SuperGlobal
$fn callback the name of the function to map through
Результат SuperGlobal the result of the mapping
    public function map($fn)
    {
        return new SuperGlobal(array_map($fn, $this->get_array_copy_raw()));
    }