| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function handle() |
||
| 39 | { |
||
| 40 | $bar = $this->output->createProgressBar(5); |
||
| 41 | $bar->setFormat("%current%/%max% [%bar%] %percent:3s%%\n<info>%message%</info>"); |
||
| 42 | |||
| 43 | $this->callSilent('down'); |
||
| 44 | $bar->setMessage("Application is now in maintenance mode."); |
||
| 45 | $bar->advance(); |
||
| 46 | |||
| 47 | $this->callSilent('up'); |
||
| 48 | $bar->setMessage("Application is now live."); |
||
| 49 | $bar->advance(); |
||
| 50 | |||
| 51 | $this->callSilent('up'); |
||
| 52 | $bar->setMessage("Application is now live."); |
||
| 53 | $bar->advance(); |
||
| 54 | |||
| 55 | $bar->finish(); |
||
| 56 | } |
||
| 58 |