| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| 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 | public function __construct(string $format, ConverterInterface $converter, string $mimeType = null) |
||
| 16 | { |
||
| 17 | $this->format = $format; |
||
| 18 | $this->converter = $converter; |
||
| 19 | $this->mimeType = $mimeType; |
||
| 20 | } |
||
| 21 | public function getFormat(): string |
||
| 24 | } |
||
| 25 | public function getConverter(): ConverterInterface |
||
| 26 | { |
||
| 27 | return $this->converter; |
||
| 28 | } |
||
| 29 | public function getMimeType(): ?string |
||
| 32 | } |
||
| 33 | |||
| 35 |