| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function __construct() |
||
| 11 | { |
||
| 12 | parent::__construct('manager', 1.0); |
||
| 13 | |||
| 14 | $manCommand = new ListCommand; |
||
| 15 | $manCommand->setName('man'); |
||
| 16 | |||
| 17 | $this->add($manCommand); |
||
| 18 | $this->add(new ListTasks); |
||
| 19 | $this->add(new AddTask); |
||
| 20 | $this->add(new ShowTask); |
||
| 21 | $this->add(new EditTask); |
||
| 22 | $this->add(new DeleteTask); |
||
| 23 | $this->add(new RestoreTasks); |
||
| 24 | $this->add(new FlushTasks); |
||
| 25 | $this->setDefaultCommand('man'); |
||
| 26 | } |
||
| 28 |