protected function updateUserWithGoogleUserId(BaseUser $user, $googleUserId)
    {
        $user->setGoogleUserId($googleUserId);
        $this->userService->save($user);
    }
protected function updateUserWithGoogleUserId(BaseUser $user, $googleUserId)
    {
        $user->setGoogleUserId($googleUserId);
        $this->userService->save($user);
    }
protected function updateUserWithGoogleUserId ( BaseUser $ user , $ googleUserId ) { $ user -> setGoogleUserId ( $ googleUserId ) ; $ this -> userService -> save ( $ user ) ; }
Updates the user with their google id creating a link between their google account and user information.

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