SocialAccountRepositoryInterface
in
Interface SocialAccountRepositoryInterface.
Tags
Table of Contents
Methods
- createSocialAccount() : SocialAccount
- Create social account.
- deleteSocialAccountsByUserId() : void
- findSocialAccount() : SocialAccount|null
- Check if social account exists.
Methods
createSocialAccount()
Create social account.
public
createSocialAccount(string $providerUserId, string $provider, int $userId) : SocialAccount
Parameters
- $providerUserId : string
- $provider : string
- $userId : int
Return values
SocialAccountdeleteSocialAccountsByUserId()
public
deleteSocialAccountsByUserId(int $userId) : void
Parameters
- $userId : int
findSocialAccount()
Check if social account exists.
public
findSocialAccount(string $providerUserId, string $provider[, array<string|int, mixed> $with = [] ]) : SocialAccount|null
Parameters
- $providerUserId : string
- $provider : string
- $with : array<string|int, mixed> = []
-
- relations.