| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function create(OutputInterface $output, int $length = 10): ProgressBar |
||
| 22 | { |
||
| 23 | $progress = new ProgressBar($output); |
||
| 24 | $progress->setBarCharacter('<info>░</info>'); |
||
| 25 | $progress->setEmptyBarCharacter(' '); |
||
| 26 | $progress->setProgressCharacter('<comment>░</comment>'); |
||
| 27 | |||
| 28 | $progress->start($length); |
||
| 29 | |||
| 30 | return $progress; |
||
| 31 | } |
||
| 32 | } |
||
| 33 |