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

Formatter   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
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
}