1 | <?php |
||
9 | class SegmentedFilter implements VideoFilterInterface |
||
10 | { |
||
11 | protected $playlistPath; |
||
12 | |||
13 | protected $segmentLength; |
||
14 | |||
15 | protected $priority; |
||
16 | |||
17 | public function __construct(string $playlistPath, int $segmentLength = 10, $priority = 0) |
||
23 | |||
24 | public function getPlaylistPath(): string |
||
28 | |||
29 | public function getSegmentLength(): int |
||
33 | |||
34 | public function getPriority() |
||
38 | |||
39 | public function apply(Video $video, VideoInterface $format) |
||
56 | } |
||
57 |