]> git.immae.eu Git - github/wallabag/wallabag.git/blame_incremental - app/config/services.yml
Update messages.pl.yml
[github/wallabag/wallabag.git] / app / config / services.yml
... / ...
CommitLineData
1parameters:
2 lexik_form_filter.get_filter.doctrine_orm.class: Wallabag\CoreBundle\Event\Subscriber\CustomDoctrineORMSubscriber
3
4services:
5 # used for tests
6 filesystem_cache:
7 class: Doctrine\Common\Cache\FilesystemCache
8 arguments:
9 - "%kernel.cache_dir%/doctrine/metadata"
10
11 twig.extension.text:
12 class: Twig_Extensions_Extension_Text
13 tags:
14 - { name: twig.extension }
15
16 wallabag.twig_extension:
17 class: Wallabag\CoreBundle\Twig\WallabagExtension
18 public: false
19 arguments:
20 - "@wallabag_core.entry_repository"
21 - "@wallabag_core.tag_repository"
22 - "@security.token_storage"
23 - "%wallabag_core.cache_lifetime%"
24 tags:
25 - { name: twig.extension }
26
27 wallabag.twig_piwik_extension:
28 class: PiwikTwigExtension\PiwikTwigExtension
29 public: false
30 tags:
31 - { name: twig.extension }
32
33 wallabag.locale_listener:
34 class: Wallabag\CoreBundle\EventListener\LocaleListener
35 arguments: ["%kernel.default_locale%"]
36 tags:
37 - { name: kernel.event_subscriber }
38
39 wallabag.user_locale_listener:
40 class: Wallabag\CoreBundle\EventListener\UserLocaleListener
41 arguments: ["@session"]
42 tags:
43 - { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }