public function next($offset = 1)
    {
        $offset = (null === $offset) ? 1 : $offset % $this->count();
        $this->rotation = \array_merge(
            \array_slice(
                $this->rotation,
                $offset
            ),
            \array_slice(
                $this->rotation,
                0,
                $offset
            )
        );
    }
public function next($offset = 1)
    {
        $offset = (null === $offset) ? 1 : $offset % $this->count();
        $this->rotation = \array_merge(
            \array_slice(
                $this->rotation,
                $offset
            ),
            \array_slice(
                $this->rotation,
                0,
                $offset
            )
        );
    }
public function next ( $ offset = 1 ) { $ offset = ( null === $ offset ) ? 1 : $ offset % $ this -> count ( ) ; $ this -> rotation = \ array_merge ( \ array_slice ( $ this -> rotation , $ offset ) , \ array_slice ( $ this -> rotation , 0 , $ offset ) ) ; }
Compute the next value of the Iterator.

@param null|int $offset
The offset
Compute the next value of the Iterator .