Skip to content

Instantly share code, notes, and snippets.

@codecowboy
Created July 14, 2011 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecowboy/1082249 to your computer and use it in GitHub Desktop.
Save codecowboy/1082249 to your computer and use it in GitHub Desktop.
services
services:
gymloop_profile_type:
class: Gymloop\CoreBundle\Form\ProfileFormType
tags:
- { name: form.type, alias: gymloop.profile.type }
arguments: [%fos_user.model.user.class%]
gymloop_profile_handler:
class: Gymloop\CoreBundle\Form\ProfileFormHandler
scope: request
public: false
arguments: [ @fos_user.profile.form, @request, @fos_user.user_manager ]
gymloop_registration_handler:
class: Gymloop\CoreBundle\Form\RegistrationFormHandler
scope: request
public: false
arguments: [ @fos_user.registration.form, @request, @fos_user.user_manager ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment