| Total Complexity | 6 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class FfmpegTranscoder implements TranscoderInterface |
||
| 12 | { |
||
| 13 | private ?string $file_path = null; |
||
| 14 | |||
| 15 | 3 | public function __construct( |
|
| 16 | private readonly ConfigProviderInterface $configProvider, |
||
| 17 | private readonly PopenWrapperInterface $popenWrapper, |
||
| 18 | private string $codec, |
||
| 19 | private int $bitrate, |
||
| 20 | ) { |
||
| 21 | 3 | } |
|
| 22 | |||
| 23 | 2 | public function setFilePath(string $file_path): self |
|
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return resource |
||
| 31 | */ |
||
| 32 | 2 | public function getHandle(): mixed |
|
| 61 |