| Total Complexity | 10 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | trait FFMpegUploadEntity |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * FFMpeg instance |
||
| 18 | */ |
||
| 19 | protected FFMpeg $ffmpeg; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Specify whether the FFMPEG process should run through the queue or not. |
||
| 23 | */ |
||
| 24 | protected bool $ffmpegQueue; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Specify max FFMPEG processes should run at the same time. |
||
| 28 | */ |
||
| 29 | protected int $ffmpegMaxQueueNum; |
||
| 30 | |||
| 31 | |||
| 32 | protected function ffmpeg(UploadedFile $file = null, AudioStyle|VideoStyle|null $style = null): FFMpeg |
||
| 59 |