Skip to content

Instantly share code, notes, and snippets.

@flug
Created January 7, 2015 09:15
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 flug/e8558e74f8ce83567b45 to your computer and use it in GitHub Desktop.
Save flug/e8558e74f8ce83567b45 to your computer and use it in GitHub Desktop.
FosUserBundle without other bundles
    entity.admin.user.entity.class: My\WebBundle\Entity\User
    admin_user.user_manager:
        class: FOS\UserBundle\Doctrine\UserManager
        arguments: [@security.encoder_factory, @fos_user.util.username_canonicalizer, @fos_user.util.email_canonicalizer, @fos_user.entity_manager,%entity.admin.user.entity.class% ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment