CaptchaBundle/Resources/config/services.yml

9 lines
259 B
YAML
Raw Normal View History

services:
# captcha type
captcha.type:
class: Gregwar\CaptchaBundle\Type\CaptchaType
arguments: [@session, %gregwar_captcha.image.width%, %gregwar_captcha.image.height%]
tags:
- { name: form.type, alias: captcha }