]>
Commit | Line | Data |
---|---|---|
7ffb1e80 | 1 | services: |
32da2a70 J |
2 | wallabag_core.helper.detect_active_theme: |
3 | class: Wallabag\CoreBundle\Helper\DetectActiveTheme | |
4 | arguments: | |
619cc453 | 5 | - "@security.token_storage" |
63e40f2d | 6 | - %wallabag_core.theme% |
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 | 14 | tags: |
5c895a7f | 15 | - { name: form.type } |
0c83fd59 | 16 | |
1d76102a | 17 | wallabag_core.filter.type.entry: |
b0b893ea | 18 | class: Wallabag\CoreBundle\Form\Type\EntryFilterType |
1d76102a JB |
19 | arguments: |
20 | - "@wallabag_core.entry_repository" | |
21 | - "@security.token_storage" | |
22 | tags: | |
23 | - { name: form.type } | |
24 | ||
0c83fd59 J |
25 | wallabag_core.param_converter.username_rsstoken_converter: |
26 | class: Wallabag\CoreBundle\ParamConverter\UsernameRssTokenConverter | |
27 | tags: | |
28 | - { name: request.param_converter, converter: username_rsstoken_converter } | |
29 | arguments: | |
619cc453 | 30 | - "@doctrine" |
164bd801 | 31 | |
bd0f3d32 JB |
32 | wallabag_core.table_prefix_subscriber: |
33 | class: Wallabag\CoreBundle\Subscriber\TablePrefixSubscriber | |
772d8c4b JB |
34 | arguments: |
35 | - %database_table_prefix% | |
bd0f3d32 JB |
36 | tags: |
37 | - { name: doctrine.event_subscriber } | |
fad31615 JB |
38 | |
39 | wallabag_core.graby: | |
40 | class: Graby\Graby | |
558d9aab | 41 | arguments: |
bb17ddea | 42 | - { error_message: "wallabag can't retrieve contents for this article. Please report this issue to us." } |
c929c88f | 43 | calls: |
619cc453 | 44 | - [ setLogger, [ "@logger" ] ] |
c929c88f JB |
45 | tags: |
46 | - { name: monolog.logger, channel: graby } | |
558d9aab JB |
47 | |
48 | wallabag_core.content_proxy: | |
49 | class: Wallabag\CoreBundle\Helper\ContentProxy | |
50 | arguments: | |
619cc453 JB |
51 | - "@wallabag_core.graby" |
52 | - "@wallabag_core.rule_based_tagger" | |
c2656f96 | 53 | - "@wallabag_core.tag_repository" |
619cc453 | 54 | - "@logger" |
c3510620 KG |
55 | |
56 | wallabag_core.rule_based_tagger: | |
57 | class: Wallabag\CoreBundle\Helper\RuleBasedTagger | |
58 | arguments: | |
619cc453 JB |
59 | - "@rulerz" |
60 | - "@wallabag_core.tag_repository" | |
61 | - "@wallabag_core.entry_repository" | |
625acf33 | 62 | |
5a4bbcc9 | 63 | # repository as a service |
625acf33 KG |
64 | wallabag_core.entry_repository: |
65 | class: Wallabag\CoreBundle\Repository\EntryRepository | |
5c895a7f | 66 | factory: [ "@doctrine.orm.default_entity_manager", getRepository ] |
625acf33 KG |
67 | arguments: |
68 | - WallabagCoreBundle:Entry | |
c3510620 KG |
69 | |
70 | wallabag_core.tag_repository: | |
71 | class: Wallabag\CoreBundle\Repository\TagRepository | |
5c895a7f | 72 | factory: [ "@doctrine.orm.default_entity_manager", getRepository ] |
c3510620 KG |
73 | arguments: |
74 | - WallabagCoreBundle:Tag | |
fcb1fba5 NL |
75 | |
76 | wallabag_core.registration_confirmed: | |
359b3f43 | 77 | class: Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener |
772d8c4b | 78 | arguments: |
619cc453 | 79 | - "@doctrine.orm.entity_manager" |
bc789687 JB |
80 | - %wallabag_core.theme% |
81 | - %wallabag_core.items_on_page% | |
82 | - %wallabag_core.rss_limit% | |
83 | - %wallabag_core.language% | |
fcb1fba5 NL |
84 | tags: |
85 | - { name: kernel.event_subscriber } | |
add597ba JB |
86 | |
87 | wallabag_core.helper.entries_export: | |
88 | class: Wallabag\CoreBundle\Helper\EntriesExport | |
89 | arguments: | |
63e40f2d | 90 | - "@craue_config" |
30d81a47 | 91 | - src/Wallabag/CoreBundle/Resources/public/themes/_global/img/appicon/apple-touch-icon-152.png |
a6e27f74 KG |
92 | |
93 | wallabag.operator.array.matches: | |
94 | class: Wallabag\CoreBundle\Operator\PHP\Matches | |
95 | tags: | |
96 | - { name: rulerz.operator, executor: rulerz.executor.array, operator: matches } | |
97 | ||
98 | wallabag.operator.doctrine.matches: | |
99 | class: Wallabag\CoreBundle\Operator\Doctrine\Matches | |
100 | tags: | |
101 | - { name: rulerz.operator, executor: rulerz.executor.doctrine, operator: matches, inline: true } |