UserVerify
        
        extends Model
    
    
            
            in package
            
        
    
            
            implements
                            Entity                    
    
            
            Uses
                            HasEntity,                             HasFactory,                             HasUserMorph                    
    
Class UserVerify.
Table of Contents
Interfaces
- Entity
 - Interface Entity.
 
Constants
- ACTION_EMAIL = 'verify_email'
 - ACTION_PHONE_NUMBER = 'verify_phone_number'
 - ENTITY_TYPE = 'user_verify'
 
Properties
- $action : string|null
 - $expires_at : string|null
 - $hash_code : string
 - $id : int
 - $timestamps : mixed
 - $user_id : string
 - $user_type : string
 - $verifiable : string|null
 - $fillable : array<string|int, string>
 - $table : mixed
 
Methods
- entityId() : int
 - entityType() : string
 - factory() : UserVerifyFactory
 - getUserAttribute() : mixed
 - getUserEntityAttribute() : mixed
 - isUser() : bool
 - check if $user is the user (creator) of entity.
 - markAsVerified() : mixed
 - maskAsExpired() : mixed
 - moduleName() : string
 - user() : MorphTo
 - userEntity() : BelongsTo
 - userId() : int
 - userType() : string
 - newFactory() : UserVerifyFactory
 
Constants
ACTION_EMAIL
    public
        mixed
    ACTION_EMAIL
    = 'verify_email'
    
    
    
ACTION_PHONE_NUMBER
    public
        mixed
    ACTION_PHONE_NUMBER
    = 'verify_phone_number'
    
    
    
ENTITY_TYPE
    public
        mixed
    ENTITY_TYPE
    = 'user_verify'
    
    
    
Properties
$action
    public
        string|null
    $action
    
    
    
    
$expires_at
    public
        string|null
    $expires_at
    
    
    
    
$hash_code
    public
        string
    $hash_code
    
    
    
    
$id
    public
        int
    $id
    
    
    
    
$timestamps
    public
        mixed
    $timestamps
     = false
    
    
    
$user_id
    public
        string
    $user_id
    
    
    
    
$user_type
    public
        string
    $user_type
    
    
    
    
$verifiable
    public
        string|null
    $verifiable
    
    
    
    
$fillable
    protected
        array<string|int, string>
    $fillable
     = ['verifiable', 'hash_code', 'action', 'expires_at', 'user_id', 'user_type', 'is_verified']
    
    
    
$table
    protected
        mixed
    $table
     = 'user_verify'
    
    
    
Methods
entityId()
    public
                    entityId() : int
    Return values
intentityType()
    public
                    entityType() : string
    Return values
stringfactory()
    public
            static        factory(mixed $parameters) : UserVerifyFactory
    Parameters
- $parameters : mixed
 
Return values
UserVerifyFactorygetUserAttribute()
    public
                    getUserAttribute() : mixed
    getUserEntityAttribute()
    public
                    getUserEntityAttribute() : mixed
    isUser()
check if $user is the user (creator) of entity.
    public
                    isUser(User $user) : bool
    Parameters
- $user : User
 
Return values
boolmarkAsVerified()
    public
                    markAsVerified() : mixed
    maskAsExpired()
    public
                    maskAsExpired() : mixed
    moduleName()
    public
                    moduleName() : string
    Return values
stringuser()
    public
                    user() : MorphTo
    Return values
MorphTouserEntity()
    public
                    userEntity() : BelongsTo
    Return values
BelongsTouserId()
    public
                    userId() : int
    Return values
intuserType()
    public
                    userType() : string
    Return values
stringnewFactory()
    protected
            static        newFactory() : UserVerifyFactory