| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | $this->mergeWithFFMpeg(); |
||
| 23 | |||
| 24 | $this->deleteChunks($this->folder); |
||
|
|
|||
| 25 | |||
| 26 | return $this->mergeContents(); |
||
| 27 | } |
||
| 28 | |||
| 29 | public function guessFormat() |
||
| 30 | { |
||
| 31 | $extension = strtolower(Arr::last(explode('.', $this->destination()))); |
||
| 32 | |||
| 33 | switch ($extension) { |
||
| 34 | case 'oog': |
||
| 35 | return new Ogg; |
||
| 36 | case 'webm': |
||
| 37 | return new WebM; |
||
| 49 |