ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ImagickEngineWithOptionalFFMpeg.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27{
32
33 protected array $supported;
34
35 public function __construct()
36 {
38 $this->ffmpeg = new FFMpegEngine();
39 }
40
41 #[\Override]
42 public function supports(string $suffix): bool
43 {
44 if ($this->ffmpeg->isRunning() && $this->ffmpeg->supports($suffix)) {
45 return true;
46 }
47
48 return in_array(strtolower($suffix), $this->supported, true);
49 }
50}
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc