SymfonyWorld Online 2020
100% online
30+ talks + workshops
Live + Replay watch talks later

Cache Manager

2.x 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(
    [$pathOne, $pathTwo],
    ['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.