Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
17 | class PreConfigureEvent extends Event |
||
18 | { |
||
19 | /** |
||
20 | * @var IOInterface |
||
21 | */ |
||
22 | private $output; |
||
23 | |||
24 | /** |
||
25 | * @var Composer |
||
26 | */ |
||
27 | private $composer; |
||
28 | |||
29 | |||
30 | 2 | public function __construct(Composer $composer, IOInterface $output) |
|
31 | { |
||
32 | 2 | $this->output = $output; |
|
33 | 2 | $this->composer = $composer; |
|
34 | |||
35 | 2 | parent::__construct(Plugin::YAWIK_PRE_CONFIGURE_EVENT); |
|
36 | 2 | } |
|
37 | |||
38 | /** |
||
39 | * @return IOInterface |
||
40 | */ |
||
41 | 2 | public function getOutput() |
|
42 | { |
||
43 | 2 | return $this->output; |
|
44 | } |
||
45 | |||
46 | /** |
||
47 | * @return Composer |
||
48 | */ |
||
49 | 1 | public function getComposer() |
|
52 | } |
||
53 | } |
||
54 |