Use FQCN as service name for Graby services

This commit is contained in:
Yassine Guedidi 2022-04-24 17:29:08 +02:00
parent dd5ec92e08
commit 7227d55913

View file

@ -36,20 +36,20 @@ services:
tags: tags:
- { name: doctrine.event_subscriber } - { name: doctrine.event_subscriber }
wallabag_core.graby: Graby\Graby:
class: Graby\Graby class: Graby\Graby
arguments: arguments:
- -
error_message: '%wallabag_core.fetching_error_message%' error_message: '%wallabag_core.fetching_error_message%'
error_message_title: '%wallabag_core.fetching_error_message_title%' error_message_title: '%wallabag_core.fetching_error_message_title%'
- "@wallabag_core.http_client" - "@wallabag_core.http_client"
- "@wallabag_core.graby.config_builder" - '@Graby\SiteConfig\ConfigBuilder'
calls: calls:
- [ setLogger, [ "@logger" ] ] - [ setLogger, [ "@logger" ] ]
tags: tags:
- { name: monolog.logger, channel: graby } - { name: monolog.logger, channel: graby }
wallabag_core.graby.config_builder: Graby\SiteConfig\ConfigBuilder:
class: Graby\SiteConfig\ConfigBuilder class: Graby\SiteConfig\ConfigBuilder
arguments: arguments:
- {} - {}
@ -61,7 +61,7 @@ services:
wallabag_core.guzzle_authenticator.config_builder: wallabag_core.guzzle_authenticator.config_builder:
class: Wallabag\CoreBundle\GuzzleSiteAuthenticator\GrabySiteConfigBuilder class: Wallabag\CoreBundle\GuzzleSiteAuthenticator\GrabySiteConfigBuilder
arguments: arguments:
- "@wallabag_core.graby.config_builder" - '@Graby\SiteConfig\ConfigBuilder'
- "@security.token_storage" - "@security.token_storage"
- "@wallabag_core.site_credential_repository" - "@wallabag_core.site_credential_repository"
- '@logger' - '@logger'
@ -90,7 +90,7 @@ services:
wallabag_core.content_proxy: wallabag_core.content_proxy:
class: Wallabag\CoreBundle\Helper\ContentProxy class: Wallabag\CoreBundle\Helper\ContentProxy
arguments: arguments:
- "@wallabag_core.graby" - '@Graby\Graby'
- "@wallabag_core.rule_based_tagger" - "@wallabag_core.rule_based_tagger"
- "@wallabag_core.rule_based_ignore_origin_processor" - "@wallabag_core.rule_based_ignore_origin_processor"
- "@validator" - "@validator"