BookStack\Services\SocialAuthService::fillSocialAccount PHP Метод

fillSocialAccount() публичный Метод

public fillSocialAccount ( string $socialDriver, Laravel\Socialite\Contracts\User $socialUser ) : SocialAccount
$socialDriver string
$socialUser Laravel\Socialite\Contracts\User
Результат BookStack\SocialAccount
    public function fillSocialAccount($socialDriver, $socialUser)
    {
        $this->socialAccount->fill(['driver' => $socialDriver, 'driver_id' => $socialUser->getId(), 'avatar' => $socialUser->getAvatar()]);
        return $this->socialAccount;
    }