CacheManager allows to remove cache in various ways.
- Single path and filter.
<?php
$cacheManager->remove($path, $filter);
- Single path and all filters
<?php
$cacheManager->remove($path);
- Some paths and some filters.
<?php
$cacheManager->remove(
array($pathOne, $pathTwo),
array('thumbnail_233x233', 'thumbnail_100x100')
);
- The whole cache.
<?php
$cacheManager->remove();