tedious / Stash

The place to keep your cache.
http://www.stashphp.com
BSD 3-Clause "New" or "Revised" License
961 stars 133 forks source link

Default expiration at pool config #326

Open garex opened 8 years ago

garex commented 8 years ago

Currently to configure default item's expiration we need to inject in pool anemic class, where inside we have call to setExpiration.

In symfony/cache we just have this as a pool's constructor parameter.

This is one reason, why I decided to use symfony/cache now.