]>
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 JB |
41 | arguments: |
42 | - { error_message: false } | |
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" | |
53 | - "@logger" | |
c3510620 KG |
54 | |
55 | wallabag_core.rule_based_tagger: | |
56 | class: Wallabag\CoreBundle\Helper\RuleBasedTagger | |
57 | arguments: | |
619cc453 JB |
58 | - "@rulerz" |
59 | - "@wallabag_core.tag_repository" | |
60 | - "@wallabag_core.entry_repository" | |
625acf33 | 61 | |
5a4bbcc9 | 62 | # repository as a service |
625acf33 KG |
63 | wallabag_core.entry_repository: |
64 | class: Wallabag\CoreBundle\Repository\EntryRepository | |
5c895a7f | 65 | factory: [ "@doctrine.orm.default_entity_manager", getRepository ] |
625acf33 KG |
66 | arguments: |
67 | - WallabagCoreBundle:Entry | |
c3510620 KG |
68 | |
69 | wallabag_core.tag_repository: | |
70 | class: Wallabag\CoreBundle\Repository\TagRepository | |
5c895a7f | 71 | factory: [ "@doctrine.orm.default_entity_manager", getRepository ] |
c3510620 KG |
72 | arguments: |
73 | - WallabagCoreBundle:Tag | |
fcb1fba5 NL |
74 | |
75 | wallabag_core.registration_confirmed: | |
359b3f43 | 76 | class: Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener |
772d8c4b | 77 | arguments: |
619cc453 | 78 | - "@doctrine.orm.entity_manager" |
bc789687 JB |
79 | - %wallabag_core.theme% |
80 | - %wallabag_core.items_on_page% | |
81 | - %wallabag_core.rss_limit% | |
82 | - %wallabag_core.language% | |
fcb1fba5 NL |
83 | tags: |
84 | - { name: kernel.event_subscriber } | |
add597ba JB |
85 | |
86 | wallabag_core.helper.entries_export: | |
87 | class: Wallabag\CoreBundle\Helper\EntriesExport | |
88 | arguments: | |
63e40f2d | 89 | - "@craue_config" |
30d81a47 | 90 | - src/Wallabag/CoreBundle/Resources/public/themes/_global/img/appicon/apple-touch-icon-152.png |
a6e27f74 KG |
91 | |
92 | wallabag.operator.array.matches: | |
93 | class: Wallabag\CoreBundle\Operator\PHP\Matches | |
94 | tags: | |
95 | - { name: rulerz.operator, executor: rulerz.executor.array, operator: matches } | |
96 | ||
97 | wallabag.operator.doctrine.matches: | |
98 | class: Wallabag\CoreBundle\Operator\Doctrine\Matches | |
99 | tags: | |
100 | - { name: rulerz.operator, executor: rulerz.executor.doctrine, operator: matches, inline: true } |