public function map(\Closure $callback)
    {

        $this->_items = array_map($callback, $this->_items);

        return $this;
    }
public function map(\Closure $callback)
    {

        $this->_items = array_map($callback, $this->_items);

        return $this;
    }
public function map ( \ Closure $ callback ) { $ this -> _items = array_map ( $ callback , $ this -> _items ) ; return $ this ; }
Run a map over the collection using the given Closure

@param \Closure $callback callback

@return \Purekid\Mongodm\Collection
Run a map over the collection using the given Closure