Merge pull request #168 from linnaea/patch-1

Quote parameter references in services.yml
This commit is contained in:
Grégoire Passault 2016-05-30 12:28:28 +02:00
commit e1ed228b8b
1 changed files with 10 additions and 10 deletions

View File

@ -7,17 +7,17 @@ parameters:
services: services:
captcha.type: captcha.type:
class: %gregwar_captcha.captcha_type.class% class: '%gregwar_captcha.captcha_type.class%'
arguments: arguments:
- '@session' - '@session'
- '@gregwar_captcha.generator' - '@gregwar_captcha.generator'
- '@translator' - '@translator'
- %gregwar_captcha.config% - '%gregwar_captcha.config%'
tags: tags:
- { name: form.type, alias: captcha } - { name: form.type, alias: captcha }
gregwar_captcha.generator: gregwar_captcha.generator:
class: %gregwar_captcha.captcha_generator.class% class: '%gregwar_captcha.captcha_generator.class%'
arguments: arguments:
- '@router' - '@router'
- '@gregwar_captcha.captcha_builder' - '@gregwar_captcha.captcha_builder'
@ -25,15 +25,15 @@ services:
- '@gregwar_captcha.image_file_handler' - '@gregwar_captcha.image_file_handler'
gregwar_captcha.image_file_handler: gregwar_captcha.image_file_handler:
class: %gregwar_captcha.image_file_handler.class% class: '%gregwar_captcha.image_file_handler.class%'
arguments: arguments:
- %gregwar_captcha.config.image_folder% - '%gregwar_captcha.config.image_folder%'
- %gregwar_captcha.config.web_path% - '%gregwar_captcha.config.web_path%'
- %gregwar_captcha.config.gc_freq% - '%gregwar_captcha.config.gc_freq%'
- %gregwar_captcha.config.expiration% - '%gregwar_captcha.config.expiration%'
gregwar_captcha.captcha_builder: gregwar_captcha.captcha_builder:
class: %gregwar_captcha.captcha_builder.class% class: '%gregwar_captcha.captcha_builder.class%'
gregwar_captcha.phrase_builder: gregwar_captcha.phrase_builder:
class: %gregwar_captcha.phrase_builder.class% class: '%gregwar_captcha.phrase_builder.class%'