$this->
newLine(2
);
unset($this->progressBar
);
} public function createProgressBar(int
$max = 0
): ProgressBar
{ $progressBar = parent::
createProgressBar($max);
if ('\\' !== \DIRECTORY_SEPARATOR || 'Hyper' ===
getenv('TERM_PROGRAM'
)) { $progressBar->
setEmptyBarCharacter('░'
); // light shade character \u2591
$progressBar->
setProgressCharacter(''
);
$progressBar->
setBarCharacter('▓'
); // dark shade character \u2593
} return $progressBar;
} /**
* @see ProgressBar::iterate()
*
* @template TKey
* @template TValue
*
* @param iterable<TKey, TValue> $iterable
* @param int|null $max Number of steps to complete the bar (0 if indeterminate), if null it will be inferred from $iterable
*
* @return iterable<TKey, TValue>
*/