PhpBench\Benchmark\CartesianParameterIterator::next PHP Method

next() public method

public next ( )
    public function next()
    {
        for ($index = 0; $index <= $this->max; ++$index) {
            $this->sets[$index]->next();
            if (true === $this->sets[$index]->valid()) {
                break;
            }
            $this->sets[$index]->rewind();
            if ($index === $this->max) {
                $this->break = true;
                break;
            }
        }
        $this->index++;
        $this->update();
        return $this->getParameterSet();
    }