2014-08-08 18:02:03 +02:00
|
|
|
services:
|
2014-08-09 15:57:01 +02:00
|
|
|
captcha.factory:
|
2014-08-08 18:02:03 +02:00
|
|
|
class: phpbb\captcha\factory
|
|
|
|
arguments:
|
|
|
|
- @service_container
|
2014-08-09 15:58:39 +02:00
|
|
|
- @captcha.plugins.service_collection
|
2014-08-08 18:02:03 +02:00
|
|
|
|
2014-09-29 12:13:17 +02:00
|
|
|
# ----- Captcha plugins -----
|
|
|
|
# Scope MUST be prototype for all the plugins to work.
|
2014-08-09 15:58:39 +02:00
|
|
|
captcha.plugins.service_collection:
|
2014-08-08 18:02:03 +02:00
|
|
|
class: phpbb\di\service_collection
|
|
|
|
arguments:
|
|
|
|
- @service_container
|
|
|
|
tags:
|
2014-08-10 13:15:07 +02:00
|
|
|
- { name: service_collection, tag: captcha.plugins }
|
2014-08-08 18:02:03 +02:00
|
|
|
|
|
|
|
core.captcha.plugins.gd:
|
|
|
|
class: phpbb\captcha\plugins\gd
|
2014-09-29 12:13:17 +02:00
|
|
|
scope: prototype
|
2014-08-10 15:10:14 +02:00
|
|
|
calls:
|
|
|
|
- [set_name, [core.captcha.plugins.gd]]
|
2014-08-08 18:02:03 +02:00
|
|
|
tags:
|
2014-08-10 13:15:07 +02:00
|
|
|
- { name: captcha.plugins }
|
2014-08-08 18:02:03 +02:00
|
|
|
|
|
|
|
core.captcha.plugins.gd_wave:
|
|
|
|
class: phpbb\captcha\plugins\gd_wave
|
2014-09-29 12:13:17 +02:00
|
|
|
scope: prototype
|
2014-08-10 15:10:14 +02:00
|
|
|
calls:
|
|
|
|
- [set_name, [core.captcha.plugins.gd_wave]]
|
2014-08-08 18:02:03 +02:00
|
|
|
tags:
|
2014-08-10 13:15:07 +02:00
|
|
|
- { name: captcha.plugins }
|
2014-08-08 18:02:03 +02:00
|
|
|
|
|
|
|
core.captcha.plugins.nogd:
|
|
|
|
class: phpbb\captcha\plugins\nogd
|
2014-09-29 12:13:17 +02:00
|
|
|
scope: prototype
|
2014-08-10 15:10:14 +02:00
|
|
|
calls:
|
|
|
|
- [set_name, [core.captcha.plugins.nogd]]
|
2014-08-08 18:02:03 +02:00
|
|
|
tags:
|
2014-08-10 13:15:07 +02:00
|
|
|
- { name: captcha.plugins }
|
2014-08-08 18:02:03 +02:00
|
|
|
|
|
|
|
core.captcha.plugins.qa:
|
|
|
|
class: phpbb\captcha\plugins\qa
|
2014-09-29 12:13:17 +02:00
|
|
|
scope: prototype
|
2014-08-10 13:15:07 +02:00
|
|
|
arguments:
|
|
|
|
- %tables.captcha_qa_questions%
|
|
|
|
- %tables.captcha_qa_answers%
|
|
|
|
- %tables.captcha_qa_confirm%
|
2014-08-10 15:10:14 +02:00
|
|
|
calls:
|
|
|
|
- [set_name, [core.captcha.plugins.qa]]
|
2014-08-08 18:02:03 +02:00
|
|
|
tags:
|
2014-08-10 13:15:07 +02:00
|
|
|
- { name: captcha.plugins }
|
2014-08-08 18:02:03 +02:00
|
|
|
|
|
|
|
core.captcha.plugins.recaptcha:
|
|
|
|
class: phpbb\captcha\plugins\recaptcha
|
2014-09-29 12:13:17 +02:00
|
|
|
scope: prototype
|
2014-08-10 15:10:14 +02:00
|
|
|
calls:
|
|
|
|
- [set_name, [core.captcha.plugins.recaptcha]]
|
2014-08-08 18:02:03 +02:00
|
|
|
tags:
|
2014-08-10 13:15:07 +02:00
|
|
|
- { name: captcha.plugins }
|