PreRunDeployEvent   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 22
ccs 0
cts 7
cp 0
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getInput() 0 3 1
1
<?php
2
3
namespace Deployee\Plugins\Deploy\Events;
4
5
use Deployee\Components\Container\ContainerInterface;
6
use Symfony\Component\Console\Input\InputInterface;
7
use Symfony\Component\EventDispatcher\Event;
8
9
class PreRunDeployEvent extends Event
10
{
11
    /**
12
     * @var InputInterface
13
     */
14
    private $input;
15
16
    /**
17
     * @param InputInterface $input
18
     * @param ContainerInterface $container
19
     */
20
    public function __construct(InputInterface $input)
21
    {
22
        $this->input = $input;
23
    }
24
25
    /**
26
     * @return InputInterface
27
     */
28
    public function getInput(): InputInterface
29
    {
30
        return $this->input;
31
    }
32
}