Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class SymfonyOutput extends Output |
||
8 | { |
||
9 | /** |
||
10 | * Symfony command output. |
||
11 | * |
||
12 | * @var OutputInterface |
||
13 | */ |
||
14 | protected $output; |
||
15 | |||
16 | /** |
||
17 | * Construct. |
||
18 | * |
||
19 | * @param OutputInterface $output |
||
20 | */ |
||
21 | public function __construct(OutputInterface $output) |
||
22 | { |
||
23 | $this->output = $output; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * Write a message. |
||
28 | * |
||
29 | * @param string $message |
||
30 | */ |
||
31 | public function write($message) |
||
35 | } |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * Get the Symfony output class. |
||
40 | * |
||
41 | * @return OutputInterface |
||
42 | */ |
||
43 | public function getOutput() |
||
46 | } |
||
47 | } |
||
48 |