Cache Manager

1.0 version
Maintained

Cache Manager

Cache Removal

CacheManager allows to remove cache in various ways.

Single path and filter:

1
$cacheManager->remove($path, $filter);

Single path and all filters:

1
$cacheManager->remove($path);

Some paths and some filters:

1
2
3
4
$cacheManager->remove(
    array($pathOne, $pathTwo),
    array('thumbnail_233x233', 'thumbnail_100x100')
);

The whole cache.

1
$cacheManager->remove();

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.