aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/config/services.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/config/services.yml')
-rw-r--r--src/Wallabag/CoreBundle/Resources/config/services.yml17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml
index 51d6ab47..a9134ac3 100644
--- a/src/Wallabag/CoreBundle/Resources/config/services.yml
+++ b/src/Wallabag/CoreBundle/Resources/config/services.yml
@@ -63,6 +63,9 @@ services:
63 arguments: 63 arguments:
64 - "@wallabag_core.graby.config_builder" 64 - "@wallabag_core.graby.config_builder"
65 - "%sites_credentials%" 65 - "%sites_credentials%"
66 - '@logger'
67 tags:
68 - { name: monolog.logger, channel: graby }
66 69
67 # service alias override 70 # service alias override
68 bd_guzzle_site_authenticator.site_config_builder: 71 bd_guzzle_site_authenticator.site_config_builder:
@@ -71,10 +74,11 @@ services:
71 wallabag_core.guzzle.http_client_factory: 74 wallabag_core.guzzle.http_client_factory:
72 class: Wallabag\CoreBundle\Helper\HttpClientFactory 75 class: Wallabag\CoreBundle\Helper\HttpClientFactory
73 arguments: 76 arguments:
74 - "@bd_guzzle_site_authenticator.authenticator_subscriber"
75 - "@wallabag_core.guzzle.cookie_jar" 77 - "@wallabag_core.guzzle.cookie_jar"
76 - '@=service(''craue_config'').get(''restricted_access'')' 78 - '@=service(''craue_config'').get(''restricted_access'')'
77 - '@logger' 79 - '@logger'
80 calls:
81 - ["addSubscriber", ["@bd_guzzle_site_authenticator.authenticator_subscriber"]]
78 82
79 wallabag_core.guzzle.cookie_jar: 83 wallabag_core.guzzle.cookie_jar:
80 class: GuzzleHttp\Cookie\FileCookieJar 84 class: GuzzleHttp\Cookie\FileCookieJar
@@ -95,6 +99,7 @@ services:
95 - "@rulerz" 99 - "@rulerz"
96 - "@wallabag_core.tag_repository" 100 - "@wallabag_core.tag_repository"
97 - "@wallabag_core.entry_repository" 101 - "@wallabag_core.entry_repository"
102 - "@logger"
98 103
99 # repository as a service 104 # repository as a service
100 wallabag_core.entry_repository: 105 wallabag_core.entry_repository:
@@ -125,6 +130,16 @@ services:
125 tags: 130 tags:
126 - { name: rulerz.operator, target: doctrine, operator: matches, inline: true } 131 - { name: rulerz.operator, target: doctrine, operator: matches, inline: true }
127 132
133 wallabag.operator.array.notmatches:
134 class: Wallabag\CoreBundle\Operator\PHP\NotMatches
135 tags:
136 - { name: rulerz.operator, target: native, operator: notmatches }
137
138 wallabag.operator.doctrine.notmatches:
139 class: Wallabag\CoreBundle\Operator\Doctrine\NotMatches
140 tags:
141 - { name: rulerz.operator, target: doctrine, operator: notmatches, inline: true }
142
128 wallabag_core.helper.redirect: 143 wallabag_core.helper.redirect:
129 class: Wallabag\CoreBundle\Helper\Redirect 144 class: Wallabag\CoreBundle\Helper\Redirect
130 arguments: 145 arguments: