Completed
Push — master ( 2afe63...db6e9c )
by Christian
02:24
created

CommandAbstract   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace uuf6429\ElderBrother\Console\Command;
4
5
use Symfony\Component\Console\Command\Command;
6
use uuf6429\ElderBrother\Config;
7
8
abstract class CommandAbstract extends Command
9
{
10
    /**
11
     * @var Config
12
     */
13
    protected $config;
14
15
    /**
16
     * @param Config $config
17
     */
18
    public function __construct(Config $config)
19
    {
20
        parent::__construct(null);
21
22
        $this->config = $config;
23
    }
24
}
25