public function each($callback)
    {
        array_walk($this->array, function($value, $key) use ($callback) {
            $callback($key, $value);
        });

        return $this;
    }
public function each($callback)
    {
        array_walk($this->array, function($value, $key) use ($callback) {
            $callback($key, $value);
        });

        return $this;
    }
public function each ( $ callback ) { array_walk ( $ this -> array , function ( $ value , $ key ) use ( $ callback ) { $ callback ( $ key , $ value ) ; } ) ; return $ this ; }
Runs the given callback on each element of the array.

@param Callable $callback
@return $this
Runs the given callback on each element of the array .