Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
9 | class FFmpegProcess extends AbstractProcess |
||
10 | { |
||
11 | /** @var FFMpegConfig */ |
||
12 | protected $config; |
||
13 | |||
14 | 1 | public function __construct(FFMpegConfig $config) |
|
15 | { |
||
16 | 1 | $this->config = $config; |
|
17 | 1 | } |
|
18 | |||
19 | 1 | public function getBinary(): string |
|
20 | { |
||
21 | 1 | return $this->config->getBinary(); |
|
22 | } |
||
23 | |||
24 | /** |
||
25 | * @param array<int|string, string> $arguments |
||
26 | */ |
||
27 | 1 | public function buildCommand(array $arguments): string |
|
33 | ); |
||
34 | } |
||
35 | } |
||
36 |