public function forAll(\Closure $cClosure)
    {
        foreach ($this->values as $mKey => $mValue) {
            $this->offsetSet($mKey, $cClosure($mValue, $mKey));
        }

        return $this;
    }
public function forAll(\Closure $cClosure)
    {
        foreach ($this->values as $mKey => $mValue) {
            $this->offsetSet($mKey, $cClosure($mValue, $mKey));
        }

        return $this;
    }
public function forAll ( \ Closure $ cClosure ) { foreach ( $ this -> values as $ mKey => $ mValue ) { $ this -> offsetSet ( $ mKey , $ cClosure ( $ mValue , $ mKey ) ) ; } return $ this ; }
Use a function on all values of the collection, and set the result as new values for the key

@param \Closure $cClosure

@return $this
Use a function on all values of the collection and set the result as new values for the key