add public services

This commit is contained in:
andreybolonin 2017-12-28 12:30:19 +02:00
parent 539884cd5d
commit 8e98c5c0ab
1 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,8 @@ parameters:
services: services:
captcha.type: captcha.type:
class: '%gregwar_captcha.captcha_type.class%' class: '%gregwar_captcha.captcha_type.class%'
public: true
arguments: arguments:
- '@session' - '@session'
- '@gregwar_captcha.generator' - '@gregwar_captcha.generator'
@ -18,6 +19,7 @@ services:
gregwar_captcha.generator: gregwar_captcha.generator:
class: '%gregwar_captcha.captcha_generator.class%' class: '%gregwar_captcha.captcha_generator.class%'
public: true
arguments: arguments:
- '@router' - '@router'
- '@gregwar_captcha.captcha_builder' - '@gregwar_captcha.captcha_builder'
@ -26,6 +28,7 @@ services:
gregwar_captcha.image_file_handler: gregwar_captcha.image_file_handler:
class: '%gregwar_captcha.image_file_handler.class%' class: '%gregwar_captcha.image_file_handler.class%'
public: true
arguments: arguments:
- '%gregwar_captcha.config.image_folder%' - '%gregwar_captcha.config.image_folder%'
- '%gregwar_captcha.config.web_path%' - '%gregwar_captcha.config.web_path%'
@ -34,6 +37,8 @@ services:
gregwar_captcha.captcha_builder: gregwar_captcha.captcha_builder:
class: '%gregwar_captcha.captcha_builder.class%' class: '%gregwar_captcha.captcha_builder.class%'
public: true
gregwar_captcha.phrase_builder: gregwar_captcha.phrase_builder:
class: '%gregwar_captcha.phrase_builder.class%' class: '%gregwar_captcha.phrase_builder.class%'
public: true