2 wallabag_core.helper.detect_active_theme:
3 class: Wallabag\CoreBundle\Helper\DetectActiveTheme
5 - "@security.token_storage"
6 - "%wallabag_core.theme%"
9 wallabag_core.form.type.config:
10 class: Wallabag\CoreBundle\Form\Type\ConfigType
12 - "%liip_theme.themes%"
13 - "%wallabag_core.languages%"
17 wallabag_core.filter.type.entry:
18 class: Wallabag\CoreBundle\Form\Type\EntryFilterType
20 - "@wallabag_core.entry_repository"
21 - "@security.token_storage"
25 wallabag_core.param_converter.username_feed_token_converter:
26 class: Wallabag\CoreBundle\ParamConverter\UsernameFeedTokenConverter
28 - { name: request.param_converter, converter: username_feed_token_converter }
32 wallabag_core.subscriber.table_prefix:
33 class: Wallabag\CoreBundle\Event\Subscriber\TablePrefixSubscriber
35 - "%database_table_prefix%"
37 - { name: doctrine.event_subscriber }
43 error_message: '%wallabag_core.fetching_error_message%'
44 error_message_title: '%wallabag_core.fetching_error_message_title%'
45 - "@wallabag_core.http_client"
46 - "@wallabag_core.graby.config_builder"
48 - [ setLogger, [ "@logger" ] ]
50 - { name: monolog.logger, channel: graby }
52 wallabag_core.graby.config_builder:
53 class: Graby\SiteConfig\ConfigBuilder
58 wallabag_core.http_client:
59 alias: 'httplug.client.wallabag_core'
61 wallabag_core.guzzle_authenticator.config_builder:
62 class: Wallabag\CoreBundle\GuzzleSiteAuthenticator\GrabySiteConfigBuilder
64 - "@wallabag_core.graby.config_builder"
65 - "@security.token_storage"
66 - "@wallabag_core.site_credential_repository"
69 - { name: monolog.logger, channel: graby }
71 # service alias override
72 bd_guzzle_site_authenticator.site_config_builder:
73 alias: wallabag_core.guzzle_authenticator.config_builder
75 wallabag_core.http_client_factory:
76 class: Wallabag\CoreBundle\Helper\HttpClientFactory
78 - "@wallabag_core.guzzle.cookie_jar"
79 - '@=service(''craue_config'').get(''restricted_access'')'
82 - ["addSubscriber", ["@bd_guzzle_site_authenticator.authenticator_subscriber"]]
84 wallabag_core.guzzle.cookie_jar:
85 class: Wallabag\CoreBundle\Helper\FileCookieJar
88 - "%kernel.cache_dir%/cookiejar.json"
90 wallabag_core.content_proxy:
91 class: Wallabag\CoreBundle\Helper\ContentProxy
93 - "@wallabag_core.graby"
94 - "@wallabag_core.rule_based_tagger"
95 - "@wallabag_core.rule_based_ignore_origin_processor"
98 - '%wallabag_core.fetching_error_message%'
99 - '@=service(''craue_config'').get(''store_article_headers'')'
101 wallabag_core.tags_assigner:
102 class: Wallabag\CoreBundle\Helper\TagsAssigner
104 - "@wallabag_core.tag_repository"
106 wallabag_core.rule_based_tagger:
107 class: Wallabag\CoreBundle\Helper\RuleBasedTagger
110 - "@wallabag_core.tag_repository"
111 - "@wallabag_core.entry_repository"
114 wallabag_core.rule_based_ignore_origin_processor:
115 class: Wallabag\CoreBundle\Helper\RuleBasedIgnoreOriginProcessor
119 - "@wallabag_core.ignore_origin_instance_rule_repository"
121 # repository as a service
122 wallabag_core.entry_repository:
123 class: Wallabag\CoreBundle\Repository\EntryRepository
124 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
126 - WallabagCoreBundle:Entry
128 wallabag_core.tag_repository:
129 class: Wallabag\CoreBundle\Repository\TagRepository
130 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
132 - WallabagCoreBundle:Tag
134 wallabag_core.site_credential_repository:
135 class: Wallabag\CoreBundle\Repository\SiteCredentialRepository
136 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
138 - WallabagCoreBundle:SiteCredential
140 - [ setCrypto, [ "@wallabag_core.helper.crypto_proxy" ] ]
142 wallabag_core.ignore_origin_instance_rule_repository:
143 class: Wallabag\CoreBundle\Repository\IgnoreOriginInstanceRuleRepository
144 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
146 - WallabagCoreBundle:IgnoreOriginInstanceRule
148 wallabag_core.helper.entries_export:
149 class: Wallabag\CoreBundle\Helper\EntriesExport
153 - src/Wallabag/CoreBundle/Resources/public/themes/_global/img/appicon/apple-touch-icon-152.png
155 wallabag.operator.array.matches:
156 class: Wallabag\CoreBundle\Operator\PHP\Matches
158 - { name: rulerz.operator, target: native, operator: matches }
160 wallabag.operator.doctrine.matches:
161 class: Wallabag\CoreBundle\Operator\Doctrine\Matches
163 - { name: rulerz.operator, target: doctrine, operator: matches, inline: true }
165 wallabag.operator.array.notmatches:
166 class: Wallabag\CoreBundle\Operator\PHP\NotMatches
168 - { name: rulerz.operator, target: native, operator: notmatches }
170 wallabag.operator.doctrine.notmatches:
171 class: Wallabag\CoreBundle\Operator\Doctrine\NotMatches
173 - { name: rulerz.operator, target: doctrine, operator: notmatches, inline: true }
175 wallabag.operator.array.pattern_matches:
176 class: Wallabag\CoreBundle\Operator\PHP\PatternMatches
178 - { name: rulerz.operator, target: native, operator: "~" }
180 wallabag_core.helper.redirect:
181 class: Wallabag\CoreBundle\Helper\Redirect
184 - "@security.token_storage"
186 wallabag_core.helper.prepare_pager_for_entries:
187 class: Wallabag\CoreBundle\Helper\PreparePagerForEntries
189 - "@security.token_storage"
192 wallabag_core.redis.client:
196 scheme: '%redis_scheme%'
200 password: '%redis_password%'
202 wallabag_core.exception_controller:
203 class: Wallabag\CoreBundle\Controller\ExceptionController
209 wallabag_core.subscriber.sqlite_cascade_delete:
210 class: Wallabag\CoreBundle\Event\Subscriber\SQLiteCascadeDeleteSubscriber
214 - { name: doctrine.event_subscriber }
216 wallabag_core.subscriber.download_images:
217 class: Wallabag\CoreBundle\Event\Subscriber\DownloadImagesSubscriber
219 - "@doctrine.orm.default_entity_manager"
220 - "@wallabag_core.entry.download_images"
221 - '@=service(''craue_config'').get(''download_images_enabled'')'
224 - { name: kernel.event_subscriber }
226 wallabag_core.entry.download_images:
227 class: Wallabag\CoreBundle\Helper\DownloadImages
229 - "@wallabag_core.entry.download_images.client"
230 - "%kernel.project_dir%/web/assets/images"
234 wallabag_core.entry.download_images.client:
235 alias: 'httplug.client.wallabag_core.entry.download_images'
237 wallabag_core.helper.crypto_proxy:
238 class: Wallabag\CoreBundle\Helper\CryptoProxy
240 - "%wallabag_core.site_credentials.encryption_key_path%"
243 wallabag_core.command.clean_duplicates:
244 class: Wallabag\CoreBundle\Command\CleanDuplicatesCommand
245 tags: ['console.command']
247 wallabag_core.command.export:
248 class: Wallabag\CoreBundle\Command\ExportCommand
249 tags: ['console.command']
251 wallabag_core.command.install:
252 class: Wallabag\CoreBundle\Command\InstallCommand
253 tags: ['console.command']
255 wallabag_core.command.list_user:
256 class: Wallabag\CoreBundle\Command\ListUserCommand
257 tags: ['console.command']
259 wallabag_core.command.reload_entry:
260 class: Wallabag\CoreBundle\Command\ReloadEntryCommand
261 tags: ['console.command']
263 wallabag_core.command.show_user:
264 class: Wallabag\CoreBundle\Command\ShowUserCommand
265 tags: ['console.command']
267 wallabag_core.command.tag_all:
268 class: Wallabag\CoreBundle\Command\TagAllCommand
269 tags: ['console.command']