]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Resources/config/services.yml
Move fetching content in a separate class
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / config / services.yml
1 services:
2 wallabag_core.helper.detect_active_theme:
3 class: Wallabag\CoreBundle\Helper\DetectActiveTheme
4 arguments:
5 - @security.context
6 - %theme% # default theme from parameters.yml
7
8 # custom form type
9 wallabag_core.form.type.config:
10 class: Wallabag\CoreBundle\Form\Type\ConfigType
11 arguments:
12 - %liip_theme.themes%
13 tags:
14 - { name: form.type, alias: config }
15
16 wallabag_core.form.type.forgot_password:
17 class: Wallabag\CoreBundle\Form\Type\ForgotPasswordType
18 arguments:
19 - @doctrine
20 tags:
21 - { name: form.type, alias: forgot_password }
22
23 wallabag_core.param_converter.username_rsstoken_converter:
24 class: Wallabag\CoreBundle\ParamConverter\UsernameRssTokenConverter
25 tags:
26 - { name: request.param_converter, converter: username_rsstoken_converter }
27 arguments:
28 - @doctrine
29
30 wallabag_core.doctrine.prefixed_naming_strategy:
31 class: Wallabag\CoreBundle\Doctrine\Mapping\PrefixedNamingStrategy
32 arguments: [%database_table_prefix%]
33
34 wallabag_core.graby:
35 class: Graby\Graby
36 arguments:
37 - { error_message: false }
38
39 wallabag_core.content_proxy:
40 class: Wallabag\CoreBundle\Helper\ContentProxy
41 arguments:
42 - @wallabag_core.graby