1 | <?php |
||
7 | class CacheManager implements CacheManagerInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var CacheOptionsInterface |
||
11 | */ |
||
12 | protected $cacheOptions; |
||
13 | |||
14 | /** |
||
15 | * Constructor |
||
16 | * |
||
17 | * @param CacheOptionsInterface $cacheOptions |
||
18 | */ |
||
19 | 2 | public function __construct(CacheOptionsInterface $cacheOptions) |
|
23 | |||
24 | /** |
||
25 | * {@inheritDoc} |
||
26 | */ |
||
27 | 1 | public function cacheExists($relativeName, $filter, $formatOrImage = null) |
|
39 | |||
40 | /** |
||
41 | * {@inheritDoc} |
||
42 | */ |
||
43 | 1 | public function getCacheUrl($relativeName, $filter, $formatOrImage = null) |
|
56 | |||
57 | /** |
||
58 | * {@inheritDoc} |
||
59 | */ |
||
60 | 1 | public function getCachePath($relativeName, $filter, $formatOrImage = null) |
|
64 | |||
65 | /** |
||
66 | * {@inheritDoc} |
||
67 | */ |
||
68 | 1 | public function createCache($relativeName, $filter, ImageInterface $image, $formatOrImage = null, array $saveOptions = []) |
|
76 | |||
77 | /** |
||
78 | * {@inheritDoc} |
||
79 | */ |
||
80 | 1 | public function deleteCache($relativeName, $filter, $formatOrImage = null) |
|
87 | |||
88 | /** |
||
89 | * {@inheritDoc} |
||
90 | */ |
||
91 | 1 | public function isCachingEnabled($filter, array $filterOptions) |
|
99 | } |
||
100 |