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

Console   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 6

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 6

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
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