| Total Complexity | 4 |
| Total Lines | 42 |
| 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 getName(): string |
||
| 32 | { |
||
| 33 | return __CLASS__; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function convert(string $file, ?int $width = null, ?int $height = null): void |
||
| 47 | } |
||
| 48 | |||
| 49 | public function getParams(int $width, int $height): VideoConvertParams |
||
| 57 |