Store cache lifetime in config

This commit is contained in:
Nicolas Lœuillet
2016-09-03 14:02:50 +02:00
parent 0b0233b1ec
commit b3f4a11a81
6 changed files with 24 additions and 2 deletions

View File

@ -81,6 +81,8 @@ services:
factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
arguments:
- WallabagCoreBundle:Entry
calls:
- [ setLifeTime, [ "%wallabag_core.cache_lifetime%" ] ]
wallabag_core.tag_repository:
class: Wallabag\CoreBundle\Repository\TagRepository