I extend the UserManager (which implements UserProviderInterface) because I don't want to write a new one from scratch, as it perfectly fits my needs. I may have been not so clear: my point is to use the UserManager of FOS, but with just a little modification of the findUserByUsername() method.
Inject it in my own user provider instead of extending it seems cool, but I should write a __call() method to be able to use a $myUserProvider->aFOSUserManagerMethod(), and I don't really like it. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en