Collections\DictionaryInterface::map PHP Method

map() public method

Returns a new dictionary with the callback function $callable applied to every key-value pair in the dictionary.
public map ( callable $callable ) : static
$callable callable
return static
    public function map(callable $callable);