Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 506 Bytes

cache-manager.md

File metadata and controls

42 lines (27 loc) · 506 Bytes

CacheManager

Cache removal

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();

Back to the index