Cache Manager
Cache Removal
CacheManager allows to remove cached images.
Remove the cache for a specific image and one filter set:
1
$cacheManager->remove($path, $filter);
Remove the cache for a specific image in all filter sets:
1
$cacheManager->remove($path);
Remove a list of images for a list of filter sets:
1 2 3 4
$cacheManager->remove(
[$pathOne, $pathTwo],
['thumbnail_233x233', 'thumbnail_100x100']
);
Clear the whole cache:
1
$cacheManager->remove();
This work, including the code samples, is licensed under a
Creative Commons BY-SA 3.0
license.