Test Failed
Branch new-architecture (b1743d)
by James
03:04
created

Application   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 8
Bugs 0 Features 0
Metric Value
wmc 1
c 8
b 0
f 0
lcom 0
cbo 2
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
/**
4
 * This file is, guess what, part of WebHelper.
5
 *
6
 * (c) James <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace JamesRezo\WebHelper\Console;
13
14
use Symfony\Component\Console\Application as BaseApplication;
15
use JamesRezo\WebHelper\Command\GenerateCommand;
16
17
class Application extends BaseApplication
18
{
19
    public function __construct()
20
    {
21
        parent::__construct();
22
        $this->setName('WebHelper');
23
        $this->setVersion('0.2');
24
        $this->add(new GenerateCommand());
25
    }
26
}
27