Total Complexity | 2 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class Main |
||
19 | { |
||
20 | /** |
||
21 | * Input service |
||
22 | * |
||
23 | * @var InputServiceInterface |
||
24 | */ |
||
25 | private $inputService; |
||
26 | |||
27 | /** |
||
28 | * Output service |
||
29 | * |
||
30 | * @var OutputServiceInterface |
||
31 | */ |
||
32 | private $outputService; |
||
33 | |||
34 | /** |
||
35 | * Constructor |
||
36 | * |
||
37 | * @param InputServiceInterface $inputService Input service |
||
38 | * @param OutputServiceInterface $outputService Output service |
||
39 | */ |
||
40 | public function __construct(InputServiceInterface $inputService, OutputServiceInterface $outputService) |
||
41 | { |
||
42 | // remember arguments |
||
43 | $this->inputService = $inputService; |
||
44 | $this->outputService = $outputService; |
||
45 | // display information |
||
46 | echo 'Main created' . PHP_EOL; |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * Display |
||
51 | */ |
||
52 | public function display() |
||
56 | } |
||
57 | } |
||
58 |