1 | <?php |
||
17 | class FormatExtensionResolver implements ResolverInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var ResolverInterface |
||
21 | */ |
||
22 | private $resolver; |
||
23 | |||
24 | /** |
||
25 | * @var FilterConfiguration |
||
26 | */ |
||
27 | private $filterConfig; |
||
28 | |||
29 | /** |
||
30 | * @param ResolverInterface $resolver |
||
31 | * @param FilterConfiguration $filterConfig |
||
32 | */ |
||
33 | public function __construct(ResolverInterface $resolver, FilterConfiguration $filterConfig) |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function resolve($path, $filter) |
||
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | public function store(BinaryInterface $binary, $targetPath, $filter) |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function isStored($path, $filter) |
||
68 | |||
69 | /** |
||
70 | * {@inheritdoc} |
||
71 | */ |
||
72 | public function remove(array $paths, array $filters) |
||
86 | |||
87 | private function replaceExtension(string $path, string $filter): string |
||
99 | } |
||
100 |