protected function updateUserWithFacebookId(BaseUser $user, $facebookUserId)
    {
        $user->setFacebookUserId($facebookUserId);
        $this->userService->save($user);
    }
protected function updateUserWithFacebookId(BaseUser $user, $facebookUserId)
    {
        $user->setFacebookUserId($facebookUserId);
        $this->userService->save($user);
    }
protected function updateUserWithFacebookId ( BaseUser $ user , $ facebookUserId ) { $ user -> setFacebookUserId ( $ facebookUserId ) ; $ this -> userService -> save ( $ user ) ; }
Updates the user with their facebook id creating a link between their facebook account and user information.

@param BaseUser $user
@param string $facebookUserId
Updates the user with their facebook id creating a link between their facebook account and user information .