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.sort.type.entry:
26 class: Wallabag\CoreBundle\Form\Type\EntrySortType
28 - "@security.token_storage"
32 wallabag_core.param_converter.username_feed_token_converter:
33 class: Wallabag\CoreBundle\ParamConverter\UsernameFeedTokenConverter
35 - { name: request.param_converter, converter: username_feed_token_converter }
39 wallabag_core.subscriber.table_prefix:
40 class: Wallabag\CoreBundle\Event\Subscriber\TablePrefixSubscriber
42 - "%database_table_prefix%"
44 - { name: doctrine.event_subscriber }
50 error_message: '%wallabag_core.fetching_error_message%'
51 error_message_title: '%wallabag_core.fetching_error_message_title%'
52 - "@wallabag_core.http_client"
53 - "@wallabag_core.graby.config_builder"
55 - [ setLogger, [ "@logger" ] ]
57 - { name: monolog.logger, channel: graby }
59 wallabag_core.graby.config_builder:
60 class: Graby\SiteConfig\ConfigBuilder
65 wallabag_core.http_client:
66 alias: 'httplug.client.wallabag_core'
68 wallabag_core.guzzle_authenticator.config_builder:
69 class: Wallabag\CoreBundle\GuzzleSiteAuthenticator\GrabySiteConfigBuilder
71 - "@wallabag_core.graby.config_builder"
72 - "@security.token_storage"
73 - "@wallabag_core.site_credential_repository"
76 - { name: monolog.logger, channel: graby }
78 # service alias override
79 bd_guzzle_site_authenticator.site_config_builder:
80 alias: wallabag_core.guzzle_authenticator.config_builder
82 wallabag_core.http_client_factory:
83 class: Wallabag\CoreBundle\Helper\HttpClientFactory
85 - "@wallabag_core.guzzle.cookie_jar"
86 - '@=service(''craue_config'').get(''restricted_access'')'
89 - ["addSubscriber", ["@bd_guzzle_site_authenticator.authenticator_subscriber"]]
91 wallabag_core.guzzle.cookie_jar:
92 class: Wallabag\CoreBundle\Helper\FileCookieJar
95 - "%kernel.cache_dir%/cookiejar.json"
97 wallabag_core.content_proxy:
98 class: Wallabag\CoreBundle\Helper\ContentProxy
100 - "@wallabag_core.graby"
101 - "@wallabag_core.rule_based_tagger"
102 - "@wallabag_core.rule_based_ignore_origin_processor"
105 - '%wallabag_core.fetching_error_message%'
106 - '@=service(''craue_config'').get(''store_article_headers'')'
108 wallabag_core.tags_assigner:
109 class: Wallabag\CoreBundle\Helper\TagsAssigner
111 - "@wallabag_core.tag_repository"
113 wallabag_core.rule_based_tagger:
114 class: Wallabag\CoreBundle\Helper\RuleBasedTagger
117 - "@wallabag_core.tag_repository"
118 - "@wallabag_core.entry_repository"
121 wallabag_core.rule_based_ignore_origin_processor:
122 class: Wallabag\CoreBundle\Helper\RuleBasedIgnoreOriginProcessor
126 - "@wallabag_core.ignore_origin_instance_rule_repository"
128 # repository as a service
129 wallabag_core.entry_repository:
130 class: Wallabag\CoreBundle\Repository\EntryRepository
131 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
133 - WallabagCoreBundle:Entry
135 wallabag_core.tag_repository:
136 class: Wallabag\CoreBundle\Repository\TagRepository
137 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
139 - WallabagCoreBundle:Tag
141 wallabag_core.site_credential_repository:
142 class: Wallabag\CoreBundle\Repository\SiteCredentialRepository
143 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
145 - WallabagCoreBundle:SiteCredential
147 - [ setCrypto, [ "@wallabag_core.helper.crypto_proxy" ] ]
149 wallabag_core.ignore_origin_instance_rule_repository:
150 class: Wallabag\CoreBundle\Repository\IgnoreOriginInstanceRuleRepository
151 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
153 - WallabagCoreBundle:IgnoreOriginInstanceRule
155 wallabag_core.helper.entries_export:
156 class: Wallabag\CoreBundle\Helper\EntriesExport
160 - src/Wallabag/CoreBundle/Resources/public/themes/_global/img/appicon/apple-touch-icon-152.png
162 wallabag.operator.array.matches:
163 class: Wallabag\CoreBundle\Operator\PHP\Matches
165 - { name: rulerz.operator, target: native, operator: matches }
167 wallabag.operator.doctrine.matches:
168 class: Wallabag\CoreBundle\Operator\Doctrine\Matches
170 - { name: rulerz.operator, target: doctrine, operator: matches, inline: true }
172 wallabag.operator.array.notmatches:
173 class: Wallabag\CoreBundle\Operator\PHP\NotMatches
175 - { name: rulerz.operator, target: native, operator: notmatches }
177 wallabag.operator.doctrine.notmatches:
178 class: Wallabag\CoreBundle\Operator\Doctrine\NotMatches
180 - { name: rulerz.operator, target: doctrine, operator: notmatches, inline: true }
182 wallabag.operator.array.pattern_matches:
183 class: Wallabag\CoreBundle\Operator\PHP\PatternMatches
185 - { name: rulerz.operator, target: native, operator: "~" }
187 wallabag_core.helper.redirect:
188 class: Wallabag\CoreBundle\Helper\Redirect
191 - "@security.token_storage"
193 wallabag_core.helper.prepare_pager_for_entries:
194 class: Wallabag\CoreBundle\Helper\PreparePagerForEntries
196 - "@security.token_storage"
199 wallabag_core.redis.client:
203 scheme: '%redis_scheme%'
207 password: '%redis_password%'
209 wallabag_core.exception_controller:
210 class: Wallabag\CoreBundle\Controller\ExceptionController
216 wallabag_core.subscriber.sqlite_cascade_delete:
217 class: Wallabag\CoreBundle\Event\Subscriber\SQLiteCascadeDeleteSubscriber
221 - { name: doctrine.event_subscriber }
223 wallabag_core.subscriber.download_images:
224 class: Wallabag\CoreBundle\Event\Subscriber\DownloadImagesSubscriber
226 - "@doctrine.orm.default_entity_manager"
227 - "@wallabag_core.entry.download_images"
228 - '@=service(''craue_config'').get(''download_images_enabled'')'
231 - { name: kernel.event_subscriber }
233 wallabag_core.entry.download_images:
234 class: Wallabag\CoreBundle\Helper\DownloadImages
236 - "@wallabag_core.entry.download_images.client"
237 - "%kernel.project_dir%/web/assets/images"
241 wallabag_core.entry.download_images.client:
242 alias: 'httplug.client.wallabag_core.entry.download_images'
244 wallabag_core.helper.crypto_proxy:
245 class: Wallabag\CoreBundle\Helper\CryptoProxy
247 - "%wallabag_core.site_credentials.encryption_key_path%"
250 wallabag_core.command.clean_duplicates:
251 class: Wallabag\CoreBundle\Command\CleanDuplicatesCommand
252 tags: ['console.command']
254 wallabag_core.command.export:
255 class: Wallabag\CoreBundle\Command\ExportCommand
256 tags: ['console.command']
258 wallabag_core.command.install:
259 class: Wallabag\CoreBundle\Command\InstallCommand
260 tags: ['console.command']
262 wallabag_core.command.list_user:
263 class: Wallabag\CoreBundle\Command\ListUserCommand
264 tags: ['console.command']
266 wallabag_core.command.reload_entry:
267 class: Wallabag\CoreBundle\Command\ReloadEntryCommand
268 tags: ['console.command']
270 wallabag_core.command.show_user:
271 class: Wallabag\CoreBundle\Command\ShowUserCommand
272 tags: ['console.command']
274 wallabag_core.command.tag_all:
275 class: Wallabag\CoreBundle\Command\TagAllCommand
276 tags: ['console.command']