tedious/Stash

Default expiration at pool config

garex opened this issue · 0 comments

garex commented

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.