protected function _createCurrentIteration(&$iterable)
    {
        $key  = $this->_getCurrentIterableKey($iterable);
        $val  = $this->_getCurrentIterableValue($iterable);
        $path = $this->_getCurrentPath($key, $val);

        return $this->_createIteration($key, $val, $path);
    }
protected function _createCurrentIteration(&$iterable)
    {
        $key  = $this->_getCurrentIterableKey($iterable);
        $val  = $this->_getCurrentIterableValue($iterable);
        $path = $this->_getCurrentPath($key, $val);

        return $this->_createIteration($key, $val, $path);
    }
protected function _createCurrentIteration ( & $ iterable ) { $ key = $ this -> _getCurrentIterableKey ( $ iterable ) ; $ val = $ this -> _getCurrentIterableValue ( $ iterable ) ; $ path = $ this -> _getCurrentPath ( $ key , $ val ) ; return $ this -> _createIteration ( $ key , $ val , $ path ) ; }
Creates an iteration instance for the current state of a given iterable.

@since [*next-version*]

@param array|Traversable $iterable The iterable.

@return IterationInterface
Creates an iteration instance for the current state of a given iterable .