Authentication
classe Authentication étends Model (Voir la source)
Traits
Propriétés
| $hidden | The hidden field  | 
                depuis Model | |
| protected bool | $timestamps | Enable the timestamps support  | 
                depuis Model | 
| protected string | $prefix | Define the table prefix  | 
                depuis Model | 
| protected bool | $auto_increment | Enable the autoincrement support  | 
                depuis Model | 
| protected bool | $soft_delete | Enable the soft deletion  | 
                depuis Model | 
| protected string | $latest | Defines the column where the query construct will use for the last query  | 
                depuis Model | 
| protected string | $created_at | Defines the created_at column name  | 
                depuis Model | 
| protected string | $updated_at | Defines the created_at column name  | 
                depuis Model | 
| protected array | $attributes | The table columns listing  | 
                depuis Model | 
| protected array | $dates | The date mutation  | 
                depuis Model | 
| protected array | $casts | The casts mutation  | 
                depuis Model | 
| protected string | $primary_key | The table primary key column name  | 
                depuis Model | 
| protected string | $primary_key_type | The table primary key type  | 
                depuis Model | 
| protected string | $table | The table name  | 
                depuis Model | 
| protected string | $connection | The connection name  | 
                depuis Model | 
| static protected Builder | $builder | The query builder instance  | 
                depuis Model | 
Méthodes
The has one relative
The belongs to many relative
The has many relative
The has one relative
Find information and delete it
Find information by id or throws an exception in data box not found
Pagination configuration
Delete Active Record by column name
Get the user id
Détails
        
            abstract                string
    getKey()
        
    
    Get the table key
        
                            BelongsTo
    belongsTo(string $related, string|null $foreign_key = null, string|null $local_key = null)
        
    
    The has one relative
        
                            BelongsToMany
    belongsToMany(string $related, string|null $primary_key = null, string|null $foreign_key = null)
        
    
    The belongs to many relative
        
                            HasMany
    hasMany(string $related, string|null $primary_key = null, string|null $foreign_key = null)
        
    
    The has many relative
        
                            HasOne
    hasOne(string $related, string|null $primary_key = null, string|null $foreign_key = null)
        
    
    The has one relative
        
                            void
    offsetSet(mixed $offset, mixed $value)
        
    
    _offsetSet
        
                            bool
    offsetExists(mixed $offset)
        
    
    _offsetExists
        
                            void
    offsetUnset(mixed $offset)
        
    
    _offsetUnset
        
                            mixed
    offsetGet(mixed $offset)
        
    
    _offsetGet
        
                            array
    __serialize()
        
    
    Serialize model
        
                            void
    __unserialize(array $attributes)
        
    
    Unserialize
        dans 
Model à la ligne 148
                            
    __construct(array $attributes = [])
        
    
    Model constructor.
        dans 
Model à la ligne 164
                static            Collection
    all(array $columns = [])
        
    
    Get all records
        dans 
Model à la ligne 180
                static            Model|null
    first()
        
    
    Get first rows
        dans 
Model à la ligne 190
                static            Model|null
    latest()
        
    
    Get latest
        dans 
Model à la ligne 204
                static            Model|null
    find(int|string|array $id, array $select = ['*'])
        
    
    find
        dans 
Model à la ligne 230
                static            Collection
    findBy(string $column, mixed $value)
        
    
    Find by column name
        dans 
Model à la ligne 243
                static            bool
    describe()
        
    
    Returns the description of the table
        dans 
Model à la ligne 256
                static            Model
    findAndDelete(int|string|array $id, array $select = ['*'])
        
    
    Find information and delete it
        dans 
Model à la ligne 276
                static            Model
    findOrFail(int|string $id, array|callable $select = ['*'])
        
    
    Find information by id or throws an exception in data box not found
        dans 
Model à la ligne 293
                static            Model
    create(array $data)
        
    
    Create a persist information
        dans 
Model à la ligne 336
                static            array
    paginate(int $page_number, int $current = 0, int|null $chunk = null)
        
    
    Pagination configuration
        dans 
Model à la ligne 347
                static            void
    deleted(callable $cb)
        
    
    Allows to associate listener
        dans 
Model à la ligne 360
                static            void
    created(callable $cb)
        
    
    Allows to associate a listener
        dans 
Model à la ligne 373
                static            void
    updated(callable $cb)
        
    
    Allows to associate a listener
        dans 
Model à la ligne 386
                static            Builder
    query()
        
    
    Initialize the connection
        dans 
Model à la ligne 433
                            mixed
    getKeyValue()
        
    
    Retrieves the primary key value
        dans 
Model à la ligne 454
                            int
    save()
        
    
    Save aliases on insert action
        dans 
Model à la ligne 545
                            int
    update(array $attributes)
        
    
    Delete a record
        dans 
Model à la ligne 592
                            int
    delete()
        
    
    Delete a record
        dans 
Model à la ligne 624
                static            int
    deleteBy(string $column, string|int $value)
        
    
    Delete Active Record by column name
        dans 
Model à la ligne 638
                            bool
    touch()
        
    
    Used to update the timestamp.
        dans 
Model à la ligne 652
                            void
    setAttributes(array $attributes)
        
    
    Assign values to class attributes
        dans 
Model à la ligne 663
                            void
    setAttribute(string $key, string $value)
        
    
    Assign a value
        dans 
Model à la ligne 674
                            Builder
    setConnection(string $connection)
        
    
    Set connection point
        dans 
Model à la ligne 688
                            array
    getAttributes()
        
    
    Retrieves the list of attributes.
        dans 
Model à la ligne 699
                            mixed
    getAttribute(string $key)
        
    
    Allows you to recover an attribute
        dans 
Model à la ligne 721
                            string
    getTable()
        
    
    Get the table name.
        dans 
Model à la ligne 731
                            array
    toArray()
        
    
    Returns the data
        dans 
Model à la ligne 741
                            string
    toJson()
        
    
    Returns the data
        dans 
Model à la ligne 757
                            array
    jsonSerialize()
        
    
    Pas de description
        dans 
Model à la ligne 776
                            mixed
    __get(string $name)
        
    
    __get
        dans 
Model à la ligne 846
                            
    __set(string $name, $value)
        
    
    __set
        dans 
Model à la ligne 856
                            string
    __toString()
        
    
    __toString
        dans 
Model à la ligne 868
                            mixed
    __call(string $name, array $arguments)
        
    
    __call
        dans 
Model à la ligne 889
                static            mixed
    __callStatic(string $name, array $arguments)
        
    
    __callStatic
        
                            mixed
    getAuthenticateUserId()
        
    
    Get the user id