lib/Model/Variant.php
public function createIteration(array $results = [])
    {
        $index = count($this->iterations);
        $iteration = new Iteration($index, $this, $results);
        $this->iterations[] = $iteration;

        return $iteration;
    }
public function createIteration(array $results = [])
    {
        $index = count($this->iterations);
        $iteration = new Iteration($index, $this, $results);
        $this->iterations[] = $iteration;

        return $iteration;
    }
public function createIteration ( array $ results = [ ] ) { $ index = count ( $ this -> iterations ) ; $ iteration = new Iteration ( $ index , $ this , $ results ) ; $ this -> iterations [ ] = $ iteration ; return $ iteration ; }
Create and add a new iteration.

@param array $results

@return Iteration
Create and add a new iteration .