2 wallabag_core.helper.detect_active_theme:
3 class: Wallabag\CoreBundle\Helper\DetectActiveTheme
5 - "@security.token_storage"
6 - "%wallabag_core.theme%"
7 - "%liip_theme.themes%"
10 wallabag_core.form.type.config:
11 class: Wallabag\CoreBundle\Form\Type\ConfigType
13 - "%liip_theme.themes%"
14 - "%wallabag_core.languages%"
18 wallabag_core.filter.type.entry:
19 class: Wallabag\CoreBundle\Form\Type\EntryFilterType
21 - "@wallabag_core.entry_repository"
22 - "@security.token_storage"
26 wallabag_core.param_converter.username_feed_token_converter:
27 class: Wallabag\CoreBundle\ParamConverter\UsernameFeedTokenConverter
29 - { name: request.param_converter, converter: username_feed_token_converter }
33 wallabag_core.subscriber.table_prefix:
34 class: Wallabag\CoreBundle\Event\Subscriber\TablePrefixSubscriber
36 - "%database_table_prefix%"
38 - { name: doctrine.event_subscriber }
44 error_message: '%wallabag_core.fetching_error_message%'
45 error_message_title: '%wallabag_core.fetching_error_message_title%'
46 - "@wallabag_core.http_client"
47 - "@wallabag_core.graby.config_builder"
49 - [ setLogger, [ "@logger" ] ]
51 - { name: monolog.logger, channel: graby }
53 wallabag_core.graby.config_builder:
54 class: Graby\SiteConfig\ConfigBuilder
59 wallabag_core.http_client:
60 alias: 'httplug.client.wallabag_core'
62 wallabag_core.guzzle_authenticator.config_builder:
63 class: Wallabag\CoreBundle\GuzzleSiteAuthenticator\GrabySiteConfigBuilder
65 - "@wallabag_core.graby.config_builder"
66 - "@security.token_storage"
67 - "@wallabag_core.site_credential_repository"
70 - { name: monolog.logger, channel: graby }
72 # service alias override
73 bd_guzzle_site_authenticator.site_config_builder:
74 alias: wallabag_core.guzzle_authenticator.config_builder
76 wallabag_core.http_client_factory:
77 class: Wallabag\CoreBundle\Helper\HttpClientFactory
79 - "@wallabag_core.guzzle.cookie_jar"
80 - '@=service(''craue_config'').get(''restricted_access'')'
83 - ["addSubscriber", ["@bd_guzzle_site_authenticator.authenticator_subscriber"]]
85 wallabag_core.guzzle.cookie_jar:
86 class: Wallabag\CoreBundle\Helper\FileCookieJar
89 - "%kernel.cache_dir%/cookiejar.json"
91 wallabag_core.content_proxy:
92 class: Wallabag\CoreBundle\Helper\ContentProxy
94 - "@wallabag_core.graby"
95 - "@wallabag_core.rule_based_tagger"
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 # repository as a service
115 wallabag_core.entry_repository:
116 class: Wallabag\CoreBundle\Repository\EntryRepository
117 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
119 - WallabagCoreBundle:Entry
121 wallabag_core.tag_repository:
122 class: Wallabag\CoreBundle\Repository\TagRepository
123 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
125 - WallabagCoreBundle:Tag
127 wallabag_core.site_credential_repository:
128 class: Wallabag\CoreBundle\Repository\SiteCredentialRepository
129 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
131 - WallabagCoreBundle:SiteCredential
133 - [ setCrypto, [ "@wallabag_core.helper.crypto_proxy" ] ]
135 wallabag_core.helper.entries_export:
136 class: Wallabag\CoreBundle\Helper\EntriesExport
140 - src/Wallabag/CoreBundle/Resources/public/themes/_global/img/appicon/apple-touch-icon-152.png
142 wallabag.operator.array.matches:
143 class: Wallabag\CoreBundle\Operator\PHP\Matches
145 - { name: rulerz.operator, target: native, operator: matches }
147 wallabag.operator.doctrine.matches:
148 class: Wallabag\CoreBundle\Operator\Doctrine\Matches
150 - { name: rulerz.operator, target: doctrine, operator: matches, inline: true }
152 wallabag.operator.array.notmatches:
153 class: Wallabag\CoreBundle\Operator\PHP\NotMatches
155 - { name: rulerz.operator, target: native, operator: notmatches }
157 wallabag.operator.doctrine.notmatches:
158 class: Wallabag\CoreBundle\Operator\Doctrine\NotMatches
160 - { name: rulerz.operator, target: doctrine, operator: notmatches, inline: true }
162 wallabag_core.helper.redirect:
163 class: Wallabag\CoreBundle\Helper\Redirect
166 - "@security.token_storage"
168 wallabag_core.helper.prepare_pager_for_entries:
169 class: Wallabag\CoreBundle\Helper\PreparePagerForEntries
171 - "@security.token_storage"
174 wallabag_core.redis.client:
178 scheme: '%redis_scheme%'
182 password: '%redis_password%'
184 wallabag_core.exception_controller:
185 class: Wallabag\CoreBundle\Controller\ExceptionController
191 wallabag_core.subscriber.sqlite_cascade_delete:
192 class: Wallabag\CoreBundle\Event\Subscriber\SQLiteCascadeDeleteSubscriber
196 - { name: doctrine.event_subscriber }
198 wallabag_core.subscriber.download_images:
199 class: Wallabag\CoreBundle\Event\Subscriber\DownloadImagesSubscriber
201 - "@doctrine.orm.default_entity_manager"
202 - "@wallabag_core.entry.download_images"
203 - '@=service(''craue_config'').get(''download_images_enabled'')'
206 - { name: kernel.event_subscriber }
208 wallabag_core.entry.download_images:
209 class: Wallabag\CoreBundle\Helper\DownloadImages
211 - "@wallabag_core.entry.download_images.client"
212 - "%kernel.project_dir%/web/assets/images"
216 wallabag_core.entry.download_images.client:
217 alias: 'httplug.client.wallabag_core.entry.download_images'
219 wallabag_core.helper.crypto_proxy:
220 class: Wallabag\CoreBundle\Helper\CryptoProxy
222 - "%wallabag_core.site_credentials.encryption_key_path%"
225 wallabag_core.command.clean_duplicates:
226 class: Wallabag\CoreBundle\Command\CleanDuplicatesCommand
227 tags: ['console.command']
229 wallabag_core.command.export:
230 class: Wallabag\CoreBundle\Command\ExportCommand
231 tags: ['console.command']
233 wallabag_core.command.install:
234 class: Wallabag\CoreBundle\Command\InstallCommand
235 tags: ['console.command']
237 wallabag_core.command.list_user:
238 class: Wallabag\CoreBundle\Command\ListUserCommand
239 tags: ['console.command']
241 wallabag_core.command.reload_entry:
242 class: Wallabag\CoreBundle\Command\ReloadEntryCommand
243 tags: ['console.command']
245 wallabag_core.command.show_user:
246 class: Wallabag\CoreBundle\Command\ShowUserCommand
247 tags: ['console.command']
249 wallabag_core.command.tag_all:
250 class: Wallabag\CoreBundle\Command\TagAllCommand
251 tags: ['console.command']