]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Resources/config/services.yml
Add a command to automatically tag all entries for a user
[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.token_storage
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 - %wallabag_core.languages%
14 tags:
15 - { name: form.type, alias: config }
16
17 wallabag_core.form.registration:
18 class: Wallabag\CoreBundle\Form\Type\RegistrationType
19 tags:
20 - { name: form.type, alias: wallabag_user_registration }
21
22 wallabag_core.form.type.forgot_password:
23 class: Wallabag\CoreBundle\Form\Type\ForgotPasswordType
24 arguments:
25 - @doctrine
26 tags:
27 - { name: form.type, alias: forgot_password }
28
29 wallabag_core.param_converter.username_rsstoken_converter:
30 class: Wallabag\CoreBundle\ParamConverter\UsernameRssTokenConverter
31 tags:
32 - { name: request.param_converter, converter: username_rsstoken_converter }
33 arguments:
34 - @doctrine
35
36 wallabag_core.table_prefix_subscriber:
37 class: Wallabag\CoreBundle\Subscriber\TablePrefixSubscriber
38 arguments:
39 - %database_table_prefix%
40 tags:
41 - { name: doctrine.event_subscriber }
42
43 wallabag_core.graby:
44 class: Graby\Graby
45 arguments:
46 - { error_message: false }
47 calls:
48 - [ setLogger, [ @logger ] ]
49 tags:
50 - { name: monolog.logger, channel: graby }
51
52 wallabag_core.content_proxy:
53 class: Wallabag\CoreBundle\Helper\ContentProxy
54 arguments:
55 - @wallabag_core.graby
56 - @wallabag_core.rule_based_tagger
57 - @logger
58
59 wallabag_core.rule_based_tagger:
60 class: Wallabag\CoreBundle\Helper\RuleBasedTagger
61 arguments:
62 - @rulerz
63 - @wallabag_core.tag_repository
64 - @wallabag_core.entry_repository
65
66 wallabag_core.entry_repository:
67 class: Wallabag\CoreBundle\Repository\EntryRepository
68 factory_service: doctrine.orm.default_entity_manager
69 factory_method: getRepository
70 arguments:
71 - WallabagCoreBundle:Entry
72
73 wallabag_core.tag_repository:
74 class: Wallabag\CoreBundle\Repository\TagRepository
75 factory_service: doctrine.orm.default_entity_manager
76 factory_method: getRepository
77 arguments:
78 - WallabagCoreBundle:Tag
79
80 wallabag_core.registration_confirmed:
81 class: Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener
82 arguments:
83 - @doctrine.orm.entity_manager
84 - %theme%
85 - %items_on_page%
86 - %rss_limit%
87 - %language%
88 tags:
89 - { name: kernel.event_subscriber }
90
91 wallabag_core.helper.entries_export:
92 class: Wallabag\CoreBundle\Helper\EntriesExport
93 arguments:
94 - %wallabag_url%
95 - src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-152.png