Test Failed
Push — master ( a58c94...1bcec0 )
by Brent
03:26
created

Console::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 7
nc 1
nop 0
dl 0
loc 9
rs 9.6666
c 0
b 0
f 0
1
<?php
2
3
namespace Brendt\Stitcher;
4
5
use Brendt\Stitcher\Command\CleanCommand;
6
use Brendt\Stitcher\Command\GenerateCommand;
7
use Brendt\Stitcher\Command\InstallCommand;
8
use Brendt\Stitcher\Command\RouteCommand;
9
use Brendt\Stitcher\Command\RoutesCommand;
10
use Symfony\Component\Console\Application;
11
12
class Console extends Application {
13
14
    public function __construct() {
15
        parent::__construct('Stitcher Console');
16
17
        $this->add(new InstallCommand());
18
        $this->add(new GenerateCommand());
19
        $this->add(new CleanCommand());
20
        $this->add(new RoutesCommand());
21
        $this->add(new RouteCommand());
22
    }
23
24
}
25