PhpBench\Report\Generator\EnvGenerator::resolveCompareColumnName PHP Метод

resolveCompareColumnName() приватный Метод

private resolveCompareColumnName ( Row $row, $name, $index = 1 )
$row PhpBench\Report\Generator\Table\Row
    private function resolveCompareColumnName(Row $row, $name, $index = 1)
    {
        if (!isset($row[$name])) {
            return $name;
        }
        $newName = $name . '#' . (string) $index++;
        if (!isset($row[$newName])) {
            return $newName;
        }
        return $this->resolveCompareColumnName($row, $name, $index);
    }