2014-05-14 07:02:02 +02:00
|
|
|
parameters:
|
2019-12-30 00:27:20 +01:00
|
|
|
gregwar_captcha.controller.class: Gregwar\CaptchaBundle\Controller\CaptchaController
|
2014-05-14 07:02:02 +02:00
|
|
|
gregwar_captcha.captcha_type.class: Gregwar\CaptchaBundle\Type\CaptchaType
|
|
|
|
gregwar_captcha.captcha_generator.class: Gregwar\CaptchaBundle\Generator\CaptchaGenerator
|
|
|
|
gregwar_captcha.image_file_handler.class: Gregwar\CaptchaBundle\Generator\ImageFileHandler
|
|
|
|
gregwar_captcha.captcha_builder.class: Gregwar\Captcha\CaptchaBuilder
|
|
|
|
gregwar_captcha.phrase_builder.class: Gregwar\Captcha\PhraseBuilder
|
|
|
|
|
2011-08-25 22:50:59 +02:00
|
|
|
services:
|
2019-12-30 00:27:20 +01:00
|
|
|
gregwar_captcha.controller:
|
|
|
|
class: '%gregwar_captcha.controller.class%'
|
|
|
|
public: true
|
|
|
|
arguments:
|
|
|
|
- '@gregwar_captcha.generator'
|
|
|
|
- '%gregwar_captcha.config%'
|
|
|
|
|
|
|
|
# captcha.type:
|
|
|
|
gregwar_captcha.type:
|
2017-12-28 11:30:19 +01:00
|
|
|
class: '%gregwar_captcha.captcha_type.class%'
|
|
|
|
public: true
|
2012-11-14 04:33:36 +01:00
|
|
|
arguments:
|
2015-12-05 01:52:50 +01:00
|
|
|
- '@session'
|
|
|
|
- '@gregwar_captcha.generator'
|
|
|
|
- '@translator'
|
2016-05-28 16:40:00 +02:00
|
|
|
- '%gregwar_captcha.config%'
|
2011-08-25 22:50:59 +02:00
|
|
|
tags:
|
|
|
|
- { name: form.type, alias: captcha }
|
2012-11-14 04:33:36 +01:00
|
|
|
|
|
|
|
gregwar_captcha.generator:
|
2016-05-28 16:40:00 +02:00
|
|
|
class: '%gregwar_captcha.captcha_generator.class%'
|
2017-12-28 11:30:19 +01:00
|
|
|
public: true
|
2012-11-14 04:33:36 +01:00
|
|
|
arguments:
|
2015-12-05 01:52:50 +01:00
|
|
|
- '@router'
|
|
|
|
- '@gregwar_captcha.captcha_builder'
|
|
|
|
- '@gregwar_captcha.phrase_builder'
|
|
|
|
- '@gregwar_captcha.image_file_handler'
|
2012-12-04 00:48:32 +01:00
|
|
|
|
|
|
|
gregwar_captcha.image_file_handler:
|
2016-05-28 16:40:00 +02:00
|
|
|
class: '%gregwar_captcha.image_file_handler.class%'
|
2017-12-28 11:30:19 +01:00
|
|
|
public: true
|
2012-12-04 00:48:32 +01:00
|
|
|
arguments:
|
2016-05-28 16:40:00 +02:00
|
|
|
- '%gregwar_captcha.config.image_folder%'
|
|
|
|
- '%gregwar_captcha.config.web_path%'
|
|
|
|
- '%gregwar_captcha.config.gc_freq%'
|
|
|
|
- '%gregwar_captcha.config.expiration%'
|
2012-12-04 00:48:32 +01:00
|
|
|
|
2012-12-04 11:51:47 +01:00
|
|
|
gregwar_captcha.captcha_builder:
|
2016-05-28 16:40:00 +02:00
|
|
|
class: '%gregwar_captcha.captcha_builder.class%'
|
2017-12-28 11:30:19 +01:00
|
|
|
public: true
|
2012-12-04 11:51:47 +01:00
|
|
|
|
|
|
|
gregwar_captcha.phrase_builder:
|
2016-05-28 16:40:00 +02:00
|
|
|
class: '%gregwar_captcha.phrase_builder.class%'
|
2017-12-28 11:30:19 +01:00
|
|
|
public: true
|