Ouzo\Utilities\Iterator\FluentIterator::cycle PHP Méthode

cycle() public méthode

Returns a fluent iterator that cycles indefinitely over the elements of this fluent iterator.
public cycle ( )
    public function cycle()
    {
        $this->iterator = Iterators::cycle($this->iterator);
        return $this;
    }