Completed
Push — master ( ea47a1...c15373 )
by Alec
06:51 queued 01:27
created

Formatter::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * User: alec
4
 * Date: 10.12.18
5
 * Time: 14:25
6
 */
7
declare(strict_types=1);
8
9
namespace AlecRabbit\Tools\Reports\Formatters;
10
11
use AlecRabbit\Tools\Reports\Contracts\ReportInterface;
12
use AlecRabbit\Tools\Reports\Formatters\Contracts\ReportFormatter;
13
14
class Formatter implements ReportFormatter
15
{
16
    /** @var ReportInterface */
17
    private $report;
18
19
    public function __construct(ReportInterface $report)
20
    {
21
        $this->report = $report;
22
    }
23
24
}