Completed
Push — master ( 0c8701...84a040 )
by Julien
13s
created

BaseQuestion::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 4
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace TheAentMachine\Helper;
4
5
use Symfony\Component\Console\Helper\QuestionHelper;
6
use Symfony\Component\Console\Input\InputInterface;
7
use Symfony\Component\Console\Output\OutputInterface;
8
9
abstract class BaseQuestion
10
{
11
    /** @var QuestionHelper */
12
    protected $helper;
13
14
    /** @var InputInterface */
15
    protected $input;
16
17
    /** @var OutputInterface */
18
    protected $output;
19
20
    /** @var string */
21
    protected $question;
22
23
    public function __construct(QuestionHelper $helper, InputInterface $input, OutputInterface $output, string $question)
24
    {
25
        $this->helper = $helper;
26
        $this->input = $input;
27
        $this->output = $output;
28
        $this->question = $question;
29
    }
30
}
31