aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/services.yml
diff options
context:
space:
mode:
Diffstat (limited to 'app/config/services.yml')
-rw-r--r--app/config/services.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/config/services.yml b/app/config/services.yml
index 7b85d846..3b454760 100644
--- a/app/config/services.yml
+++ b/app/config/services.yml
@@ -13,14 +13,23 @@ services:
13 tags: 13 tags:
14 - { name: twig.extension } 14 - { name: twig.extension }
15 15
16 twig.extension.date:
17 class: Twig_Extensions_Extension_Date
18 arguments:
19 - "@translator"
20 tags:
21 - { name: twig.extension }
22
16 wallabag.twig_extension: 23 wallabag.twig_extension:
17 class: Wallabag\CoreBundle\Twig\WallabagExtension 24 class: Wallabag\CoreBundle\Twig\WallabagExtension
18 public: false 25 public: false
19 arguments: 26 arguments:
20 - "@wallabag_core.entry_repository" 27 - "@wallabag_core.entry_repository"
21 - "@wallabag_core.tag_repository" 28 - "@wallabag_core.tag_repository"
29 - "@wallabag_core.notification_repository"
22 - "@security.token_storage" 30 - "@security.token_storage"
23 - "%wallabag_core.cache_lifetime%" 31 - "%wallabag_core.cache_lifetime%"
32 - "%wallabag_core.notifications_nb%"
24 - "@translator" 33 - "@translator"
25 tags: 34 tags:
26 - { name: twig.extension } 35 - { name: twig.extension }