FriendsOfSymfony/FOSFacebookBundle — pull request #313 by tvl83 (2014-03-02 15:21:46+00:00)
Title: Update 2-integration-with-fosuserbundle.md

Annotations so certain IDEs will not complain about unknown methods (PHPStorm for me) and added a $userProvider which is suggested by the UserManager class because userManager->supportsClass() is deprecated on the userManager and suggests to use UserProvider.

I changed the annotation of $facebook based on the argument in config.yml it points to the fos_facebook.api service which is the class I put above.

(I don't know why the indentation is all weird it looked fine in the editor.)