SocialAccount
extends Model
in package
Uses
HasEntity, HasFactory
Class SocialAccount.
Tags
Table of Contents
Constants
- ENTITY_TYPE = 'social_account'
- FACEBOOK = 'facebook'
Properties
- $created_at : string
- $id : int
- $provider : string
- $provider_user_id : string
- $updated_at : string
- $user : User
- $user_id : int
- $fillable : array<string|int, string>
- $table : mixed
Methods
- entityId() : int
- entityType() : string
- factory() : SocialAccountFactory
- moduleName() : string
- user() : BelongsTo
- newFactory() : SocialAccountFactory
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'social_account'
public
mixed
FACEBOOK
= 'facebook'
Properties
$created_at
public
string
$created_at
$id
public
int
$id
$provider
public
string
$provider
$provider_user_id
public
string
$provider_user_id
$updated_at
public
string
$updated_at
$user
public
User
$user
$user_id
public
int
$user_id
$fillable
protected
array<string|int, string>
$fillable
= []
$table
protected
mixed
$table
= 'social_accounts'
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringfactory()
public
factory() : SocialAccountFactory
Return values
SocialAccountFactorymoduleName()
public
moduleName() : string
Return values
stringuser()
public
user() : BelongsTo
Return values
BelongsTonewFactory()
protected
static newFactory() : SocialAccountFactory