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
arguments:
- "@security.token_storage"
- "@router"
+
+ wallabag_core.redis.client:
+ class: Predis\Client
+ arguments:
+ -
+ host: '%redis_host%'
+ port: '%redis_port%'
+ schema: tcp