Completed
Pull Request — master (#94)
by Alessandro
08:53
created

AbstractPrinter::getOutput()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Paraunit\Printer;
4
5
use Symfony\Component\Console\Output\OutputInterface;
6
7
/**
8
 * Class AbstractPrinter
9
 * @package Paraunit\Printer
10
 */
11
abstract class AbstractPrinter
12
{
13
    /** @var  OutputInterface */
14
    private $output;
15
16
    /**
17
     * AbstractPrinter constructor.
18
     * @param OutputInterface $output
19
     */
20
    public function __construct(OutputInterface $output)
21
    {
22
        $this->output = $output;
23
    }
24
25
    /**
26
     * @return OutputInterface
27
     */
28
    public function getOutput()
29
    {
30
        return $this->output;
31
    }
32
}
33