| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 40 | public function handle(Core $core) |
||
| 41 | { |
||
| 42 | $this->line('Cleaning locked user...'); |
||
| 43 | if($core->clear_all()){ |
||
| 44 | $table = new Table($this->output); |
||
| 45 | $table->setRows([ |
||
| 46 | ['<fg=green>Locked Account(s) Cleared.'], |
||
| 47 | |||
| 48 | ]); |
||
| 49 | $table->render(); |
||
| 50 | } else{ |
||
| 51 | $this->line('<fg=red> Clearing failed.'); |
||
| 52 | } |
||
| 56 |