]>
Commit | Line | Data |
---|---|---|
93fd4692 | 1 | parameters: |
7d6c3edc | 2 | lexik_form_filter.get_filter.doctrine_orm.class: Wallabag\CoreBundle\Event\Subscriber\CustomDoctrineORMSubscriber |
93fd4692 NL |
3 | |
4 | services: | |
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 | 15 | |
378aaefb TC |
16 | twig.extension.date: |
17 | class: Twig_Extensions_Extension_Date | |
18 | arguments: | |
19 | - "@translator" | |
20 | tags: | |
21 | - { name: twig.extension } | |
22 | ||
2afdea1c NL |
23 | wallabag.twig_extension: |
24 | class: Wallabag\CoreBundle\Twig\WallabagExtension | |
25 | public: false | |
8315130a NL |
26 | arguments: |
27 | - "@wallabag_core.entry_repository" | |
429d86f3 | 28 | - "@wallabag_core.tag_repository" |
378aaefb | 29 | - "@wallabag_core.notification_repository" |
8315130a | 30 | - "@security.token_storage" |
429d86f3 | 31 | - "%wallabag_core.cache_lifetime%" |
378aaefb | 32 | - "%wallabag_core.notifications_nb%" |
1264029c | 33 | - "@translator" |
2afdea1c NL |
34 | tags: |
35 | - { name: twig.extension } | |
c89d35e8 | 36 | |
07643dde | 37 | wallabag.twig_piwik_extension: |
077ddbe1 | 38 | class: PiwikTwigExtension\PiwikTwigExtension |
07643dde | 39 | public: false |
07643dde NL |
40 | tags: |
41 | - { name: twig.extension } | |
42 | ||
c89d35e8 | 43 | wallabag.locale_listener: |
535bfcbe | 44 | class: Wallabag\CoreBundle\Event\Listener\LocaleListener |
c89d35e8 NL |
45 | arguments: ["%kernel.default_locale%"] |
46 | tags: | |
47 | - { name: kernel.event_subscriber } | |
48 | ||
49 | wallabag.user_locale_listener: | |
535bfcbe | 50 | class: Wallabag\CoreBundle\Event\Listener\UserLocaleListener |
c89d35e8 NL |
51 | arguments: ["@session"] |
52 | tags: | |
53 | - { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin } | |
3b792787 NL |
54 | |
55 | craue_config_cache_provider: | |
56 | class: Symfony\Component\Cache\Adapter\FilesystemAdapter | |
57 | public: false | |
58 | arguments: | |
59 | - 'craue_config' | |
60 | - 0 | |
61 | - '%kernel.cache_dir%' |