Total Complexity | 4 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 63.64% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class MatchingResult |
||
10 | { |
||
11 | private string $format; |
||
12 | private ConverterInterface $converter; |
||
13 | private ?string $mimeType = null; |
||
14 | |||
15 | 32 | public function __construct(string $format, ConverterInterface $converter, string $mimeType = null) |
|
16 | { |
||
17 | 32 | $this->format = $format; |
|
18 | 32 | $this->converter = $converter; |
|
19 | 32 | $this->mimeType = $mimeType; |
|
20 | 32 | } |
|
21 | public function getFormat(): string |
||
24 | } |
||
25 | 9 | public function getConverter(): ConverterInterface |
|
26 | { |
||
27 | 9 | return $this->converter; |
|
28 | } |
||
29 | public function getMimeType(): ?string |
||
32 | } |
||
33 | |||
35 |