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