| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class ImageToBase64Converter implements FileConverterInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * ImageToBase64Converter constructor. |
||
| 17 | */ |
||
| 18 | 2 | public function __construct(private NormalizerInterface $normalizer) |
|
| 20 | 2 | } |
|
| 21 | |||
| 22 | /** |
||
| 23 | * @throws ExceptionInterface |
||
| 24 | */ |
||
| 25 | 1 | public function convert(string $imagePath): string |
|
| 30 |