Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
13 | class GoogleVod2019Preset implements PresetInterface |
||
14 | { |
||
15 | /** @var VideoInfoReaderInterface */ |
||
16 | private $reader; |
||
17 | |||
18 | /** @var VideoConverterInterface */ |
||
19 | private $converter; |
||
20 | |||
21 | /** @var VideoAnalyzerInterface */ |
||
22 | private $analyzer; |
||
23 | |||
24 | public function __construct(VideoInfoReaderInterface $reader, VideoConverterInterface $converter, VideoAnalyzerInterface $analyzer) |
||
29 | } |
||
30 | |||
31 | public function convert(string $file, ?int $width = null, ?int $height = null): void |
||
42 | } |
||
43 | |||
44 | public function getParams(int $width, int $height): VideoConvertParams |
||
52 |