]>
Commit | Line | Data |
---|---|---|
7ffb1e80 | 1 | services: |
32da2a70 J |
2 | wallabag_core.helper.detect_active_theme: |
3 | class: Wallabag\CoreBundle\Helper\DetectActiveTheme | |
4 | arguments: | |
18f8f32f | 5 | - @security.token_storage |
495aecfe | 6 | - %theme% # default theme from parameters.yml |
32da2a70 | 7 | |
6894d48e | 8 | # custom form type |
32da2a70 J |
9 | wallabag_core.form.type.config: |
10 | class: Wallabag\CoreBundle\Form\Type\ConfigType | |
11 | arguments: | |
12 | - %liip_theme.themes% | |
c89d35e8 | 13 | - %wallabag_core.languages% |
32da2a70 J |
14 | tags: |
15 | - { name: form.type, alias: config } | |
6894d48e | 16 | |
fcb1fba5 NL |
17 | wallabag_core.form.registration: |
18 | class: Wallabag\CoreBundle\Form\Type\RegistrationType | |
19 | tags: | |
20 | - { name: form.type, alias: wallabag_user_registration } | |
21 | ||
6894d48e J |
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 } | |
0c83fd59 J |
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 | |
164bd801 | 35 | |
bd0f3d32 JB |
36 | wallabag_core.table_prefix_subscriber: |
37 | class: Wallabag\CoreBundle\Subscriber\TablePrefixSubscriber | |
772d8c4b JB |
38 | arguments: |
39 | - %database_table_prefix% | |
bd0f3d32 JB |
40 | tags: |
41 | - { name: doctrine.event_subscriber } | |
fad31615 JB |
42 | |
43 | wallabag_core.graby: | |
44 | class: Graby\Graby | |
558d9aab JB |
45 | arguments: |
46 | - { error_message: false } | |
c929c88f JB |
47 | calls: |
48 | - [ setLogger, [ @logger ] ] | |
49 | tags: | |
50 | - { name: monolog.logger, channel: graby } | |
558d9aab JB |
51 | |
52 | wallabag_core.content_proxy: | |
53 | class: Wallabag\CoreBundle\Helper\ContentProxy | |
54 | arguments: | |
55 | - @wallabag_core.graby | |
c3510620 | 56 | - @wallabag_core.rule_based_tagger |
1c9cd2a7 | 57 | - @logger |
c3510620 KG |
58 | |
59 | wallabag_core.rule_based_tagger: | |
60 | class: Wallabag\CoreBundle\Helper\RuleBasedTagger | |
61 | arguments: | |
62 | - @rulerz | |
63 | - @wallabag_core.tag_repository | |
625acf33 KG |
64 | - @wallabag_core.entry_repository |
65 | ||
66 | wallabag_core.entry_repository: | |
67 | class: Wallabag\CoreBundle\Repository\EntryRepository | |
b7b20054 | 68 | factory: [ @doctrine.orm.default_entity_manager, getRepository ] |
625acf33 KG |
69 | arguments: |
70 | - WallabagCoreBundle:Entry | |
c3510620 KG |
71 | |
72 | wallabag_core.tag_repository: | |
73 | class: Wallabag\CoreBundle\Repository\TagRepository | |
b7b20054 | 74 | factory: [ @doctrine.orm.default_entity_manager, getRepository ] |
c3510620 KG |
75 | arguments: |
76 | - WallabagCoreBundle:Tag | |
fcb1fba5 NL |
77 | |
78 | wallabag_core.registration_confirmed: | |
359b3f43 | 79 | class: Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener |
772d8c4b JB |
80 | arguments: |
81 | - @doctrine.orm.entity_manager | |
82 | - %theme% | |
83 | - %items_on_page% | |
84 | - %rss_limit% | |
85 | - %language% | |
fcb1fba5 NL |
86 | tags: |
87 | - { name: kernel.event_subscriber } | |
add597ba JB |
88 | |
89 | wallabag_core.helper.entries_export: | |
90 | class: Wallabag\CoreBundle\Helper\EntriesExport | |
91 | arguments: | |
92 | - %wallabag_url% | |
93 | - src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-152.png | |
a6e27f74 KG |
94 | |
95 | wallabag.operator.array.matches: | |
96 | class: Wallabag\CoreBundle\Operator\PHP\Matches | |
97 | tags: | |
98 | - { name: rulerz.operator, executor: rulerz.executor.array, operator: matches } | |
99 | ||
100 | wallabag.operator.doctrine.matches: | |
101 | class: Wallabag\CoreBundle\Operator\Doctrine\Matches | |
102 | tags: | |
103 | - { name: rulerz.operator, executor: rulerz.executor.doctrine, operator: matches, inline: true } |