PhpBench\Progress\Logger\BlinkenLogger::formatIterationTime PHP Метод

formatIterationTime() защищенный Метод

protected formatIterationTime ( Iteration $iteration )
$iteration PhpBench\Model\Iteration
    protected function formatIterationTime(Iteration $iteration)
    {
        $time = sprintf('%-' . $this->colWidth . 's', parent::formatIterationTime($iteration));
        if (strlen(trim($time)) >= $this->colWidth) {
            $this->colWidth += 2;
            $this->resetLinePosition();
            $this->drawIterations($iteration->getVariant(), $this->rejects, 'error');
            $this->resetLinePosition();
        }
        return $time;
    }