| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function __construct(string $configPath = './config.yml', array $defaultConfig = []) { |
||
| 16 | App::init($configPath, $defaultConfig); |
||
| 17 | |||
| 18 | parent::__construct('Stitcher Console'); |
||
| 19 | |||
| 20 | $this->add(new InstallCommand()); |
||
| 21 | $this->add(new GenerateCommand($configPath, $defaultConfig)); |
||
| 22 | $this->add(new CleanCommand()); |
||
| 23 | $this->add(new RouterListCommand($configPath, $defaultConfig)); |
||
| 24 | $this->add(new RouterDispatchCommand($configPath, $defaultConfig)); |
||
| 25 | } |
||
| 26 | |||
| 28 |