]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/services.yml
Prepare 2.3.5 release
[github/wallabag/wallabag.git] / app / config / services.yml
CommitLineData
93fd4692 1parameters:
7d6c3edc 2 lexik_form_filter.get_filter.doctrine_orm.class: Wallabag\CoreBundle\Event\Subscriber\CustomDoctrineORMSubscriber
93fd4692
NL
3
4services:
a05be8ab
J
5 # used for tests
6 filesystem_cache:
7 class: Doctrine\Common\Cache\FilesystemCache
8 arguments:
c95e39c5 9 - "%kernel.cache_dir%/doctrine/metadata"
50243f0e
NL
10
11 twig.extension.text:
12 class: Twig_Extensions_Extension_Text
13 tags:
14 - { name: twig.extension }
2afdea1c
NL
15
16 wallabag.twig_extension:
17 class: Wallabag\CoreBundle\Twig\WallabagExtension
18 public: false
8315130a
NL
19 arguments:
20 - "@wallabag_core.entry_repository"
429d86f3 21 - "@wallabag_core.tag_repository"
8315130a 22 - "@security.token_storage"
429d86f3 23 - "%wallabag_core.cache_lifetime%"
1264029c 24 - "@translator"
2afdea1c
NL
25 tags:
26 - { name: twig.extension }
c89d35e8 27
07643dde 28 wallabag.twig_piwik_extension:
077ddbe1 29 class: PiwikTwigExtension\PiwikTwigExtension
07643dde 30 public: false
07643dde
NL
31 tags:
32 - { name: twig.extension }
33
c89d35e8 34 wallabag.locale_listener:
535bfcbe 35 class: Wallabag\CoreBundle\Event\Listener\LocaleListener
c89d35e8
NL
36 arguments: ["%kernel.default_locale%"]
37 tags:
38 - { name: kernel.event_subscriber }
39
40 wallabag.user_locale_listener:
535bfcbe 41 class: Wallabag\CoreBundle\Event\Listener\UserLocaleListener
c89d35e8
NL
42 arguments: ["@session"]
43 tags:
44 - { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
3b792787
NL
45
46 craue_config_cache_provider:
47 class: Symfony\Component\Cache\Adapter\FilesystemAdapter
48 public: false
49 arguments:
50 - 'craue_config'
51 - 0
52 - '%kernel.cache_dir%'