src/Lazy/Enumerable.php
public function map(callable $converter)
    {
        return new Enumerator(
            function () use($converter) {
                foreach ($this->each() as $k => $v) {
                    $v = call_user_func($converter, $v, $k);
                    yield $k => $v;
                }
            }
        );
    }
public function map(callable $converter)
    {
        return new Enumerator(
            function () use($converter) {
                foreach ($this->each() as $k => $v) {
                    $v = call_user_func($converter, $v, $k);
                    yield $k => $v;
                }
            }
        );
    }
public function map ( callable $ converter ) { return new Enumerator ( function ( ) use ( $ converter ) { foreach ( $ this -> each ( ) as $ k => $ v ) { $ v = call_user_func ( $ converter , $ v , $ k ) ; yield $ k => $ v ; } } ) ; }
Return Enumerator which convert values

@param callable $converter
@return \dooaki\Container\Lazy\Enumerator
Return Enumerator which convert values