Total Complexity | 4 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
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 | 47 | public function __construct(string $format, ConverterInterface $converter, string $mimeType = null) |
|
20 | 47 | } |
|
21 | 2 | public function getFormat(): string |
|
22 | { |
||
23 | 2 | return $this->format; |
|
24 | } |
||
25 | 13 | public function getConverter(): ConverterInterface |
|
28 | } |
||
29 | 3 | public function getMimeType(): ?string |
|
35 |