| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | trait RebuildsCommands |
||
| 9 | { |
||
| 10 | use InteractsWithBeforeSavingCallbacks; |
||
| 11 | use InteractsWithHttpHeaders; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Builds the command using the underlying library and then |
||
| 15 | * prepends the input with the headers. |
||
| 16 | * |
||
| 17 | * @param \FFMpeg\Format\FormatInterface $format |
||
| 18 | * @param string $outputPathfile |
||
| 19 | * @return array |
||
| 20 | */ |
||
| 21 | protected function buildCommand(FormatInterface $format, $outputPathfile) |
||
| 29 | } |
||
| 30 | |||
| 31 | private function rebuildCommandWithHeaders($command) |
||
| 46 |