| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | trait ManagerHelpers |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * This method checks if the application is running in console and, if output style is not null, it creates a new |
||
| 12 | * progress bar instance, otherwise returns null. |
||
| 13 | * |
||
| 14 | * @param \Symfony\Component\Console\Style\OutputStyle|null $output |
||
| 15 | * @param int $count |
||
| 16 | * |
||
| 17 | * @return \Symfony\Component\Console\Helper\ProgressBar|null |
||
| 18 | */ |
||
| 19 | public function hasProgressBar(?OutputStyle $output, int $count): ?ProgressBar |
||
| 28 |