symfony/symfony — pull request #6855 by liuggio (2013-01-23 17:29:08+00:00)
Title: created the StoreHouseKeepingInteface

related to #4871

I started looking for a perfect name,
from https://www.varnish-software.com/static/book/Cache_invalidation.html#smart-bans,
but `BanLurkerInterface` doesn't fit well and neither `CleanerInterface`, and `PurgerInterface` neither as well.
The original @fabpot 's idea was the best `StoreHousekeepingInterface` .

the concept is that HttpCache::clear() will call $this->store->clear();
then the creation of the command is an easy task. Any suggestion are always appreciated.

Todo:

- [ ] Complete the PR

- [ ] Add the PR header

- [ ] Find an agnostic way to implement the function that `bans` some entries by a specific filter, eg: older than a date, or not so much used.