Completed
Push — master ( 8ee32e...efc44e )
by Pablo
02:33
created

ConfigurationProcessor   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
c 0
b 0
f 0
lcom 0
cbo 0
dl 0
loc 25
rs 10
ccs 5
cts 5
cp 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getInput() 0 4 1
1
<?php
2
3
namespace PhpGitHooks\Module\Configuration\Contract\Command;
4
5
use Bruli\EventBusBundle\CommandBus\CommandInterface;
6
use Composer\IO\IOInterface;
7
8
class ConfigurationProcessor implements CommandInterface
9
{
10
    /**
11
     * @var IOInterface
12
     */
13
    private $input;
14
15
    /**
16
     * ConfigurationProcessorCommand constructor.
17
     *
18
     * @param IOInterface $input
19
     */
20 2
    public function __construct(IOInterface $input)
21
    {
22 2
        $this->input = $input;
23 2
    }
24
25
    /**
26
     * @return IOInterface
27
     */
28 2
    public function getInput()
29
    {
30 2
        return $this->input;
31
    }
32
}
33