Skip to content

Commit

Permalink
Merge pull request #40 from M6Web/fix/symfony-3-compatibilities
Browse files Browse the repository at this point in the history
Fix symfony 3 compatibilities
  • Loading branch information
Cédric Vanet committed Feb 2, 2016
2 parents 9656238 + dd18cf2 commit b80a915
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/M6Web/Bundle/LogBridgeBundle/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,49 +18,49 @@ parameters:

services:
m6web_log_bridge.logger:
class: %m6web_log_bridge.logger.class%
class: "%m6web_log_bridge.logger.class%"
arguments:
- '@logger'
- "@logger"
tags:
- { name: monolog.logger, channel: %m6web_log_bridge.logger.channel% }
- { name: monolog.logger, channel: "%m6web_log_bridge.logger.channel%" }

m6web_log_bridge.config_parser:
class: %m6web_log_bridge.config_parser.class%
class: "%m6web_log_bridge.config_parser.class%"
arguments:
- '@router'
- "@router"

m6web_log_bridge.matcher.status.type_manager:
class: %m6web_log_bridge.matcher.status.type_manager.class%
class: "%m6web_log_bridge.matcher.status.type_manager.class%"

m6web_log_bridge.builder:
class: %m6web_log_bridge.builder.class%
class: "%m6web_log_bridge.builder.class%"
arguments:
- @m6web_log_bridge.matcher.status.type_manager
- %m6web_log_bridge.resources%
- %kernel.environment%
- "@m6web_log_bridge.matcher.status.type_manager"
- "%m6web_log_bridge.resources%"
- "%kernel.environment%"
calls:
- [ setDispatcher, [ '@event_dispatcher' ] ]
- [ setConfigParser, [ '@m6web_log_bridge.config_parser' ] ]
- [ setCacheDir, [ %kernel.cache_dir% ] ]
- [ isDebug, [ %kernel.debug% ] ]
- [ setMatcherClassName, [ %m6web_log_bridge.matcher_class.name% ] ]
- [ setDispatcher, [ "@event_dispatcher" ] ]
- [ setConfigParser, [ "@m6web_log_bridge.config_parser" ] ]
- [ setCacheDir, [ "%kernel.cache_dir%" ] ]
- [ isDebug, [ "%kernel.debug%" ] ]
- [ setMatcherClassName, [ "%m6web_log_bridge.matcher_class.name%" ] ]

m6web_log_bridge.matcher:
class: %m6web_log_bridge.matcher_proxy.class%
class: "%m6web_log_bridge.matcher_proxy.class%"
arguments:
- '@m6web_log_bridge.builder'
- "@m6web_log_bridge.builder"

m6web_log_bridge.log_content_formatter:
class: %m6web_log_bridge.log_content_formatter.class%
class: "%m6web_log_bridge.log_content_formatter.class%"
arguments:
- %kernel.environment%
- %m6web_log_bridge.ignore_headers%
- %m6web_log_bridge.prefix_key%
- "%kernel.environment%"
- "%m6web_log_bridge.ignore_headers%"
- "%m6web_log_bridge.prefix_key%"
calls:
- [ setTokenStorage, [ '@?security.token_storage' ] ]
- [ setTokenStorage, [ "@?security.token_storage" ] ]

m6web_log_bridge.log_content_exception_formatter:
class: %m6web_log_bridge.log_content_exception_formatter.class%
class: "%m6web_log_bridge.log_content_exception_formatter.class%"
parent: m6web_log_bridge.log_content_formatter
calls:
- [ setRequestExceptionAttribute, [ %m6web_log_bridge.exception.request_attribute% ] ]
- [ setRequestExceptionAttribute, [ "%m6web_log_bridge.exception.request_attribute%" ] ]

0 comments on commit b80a915

Please sign in to comment.