aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/config/services.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/config/services.yml')
-rw-r--r--src/Wallabag/CoreBundle/Resources/config/services.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml
index 4b7751fe..1fb81a46 100644
--- a/src/Wallabag/CoreBundle/Resources/config/services.yml
+++ b/src/Wallabag/CoreBundle/Resources/config/services.yml
@@ -136,3 +136,22 @@ services:
136 - "@doctrine" 136 - "@doctrine"
137 tags: 137 tags:
138 - { name: doctrine.event_subscriber } 138 - { name: doctrine.event_subscriber }
139
140 wallabag_core.subscriber.download_images:
141 class: Wallabag\CoreBundle\Event\Subscriber\DownloadImagesSubscriber
142 arguments:
143 - "@wallabag_core.entry.download_images"
144 - "%craue_config.config.class%"
145 - "@logger"
146 tags:
147 - { name: doctrine.event_subscriber }
148
149 wallabag_core.entry.download_images:
150 class: Wallabag\CoreBundle\Helper\DownloadImages
151 arguments:
152 - "@wallabag_core.entry.download_images.client"
153 - "%kernel.root_dir%/../web/assets/images"
154 - "@logger"
155
156 wallabag_core.entry.download_images.client:
157 class: GuzzleHttp\Client