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

CommandAbstract::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 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