$this->progress =
$this->io->
createProgressBar($event->
getTotal());
$this->progress->
setFormat("<info>[%message%]</info>\n%current%/%max% [%bar%] %percent:3s%% %elapsed:6s%/%estimated:-6s% %memory:6s%"
);
$this->progress->
setMessage($event->
getMessage());
} public function advanceProgress(ProgressAdvancedEvent
$event): void
{ if (!
$this->progress
) { return;
} $this->progress->
advance($event->
getStep());
} public function finishProgress(ProgressFinishedEvent
$event): void
{ if (!
$this->io
) { return;
} if (!
$this->progress
) { return;
}