Authentication
class Authentication extends Model (View source)
Properties
protected array | $describeOrder | from Model | |
protected bool | $timestamps | from Model | |
protected string | $prefix | from Model | |
protected bool | $autoIncrement | from Model | |
protected bool | $safeDeleted | from Model | |
protected string | $latest | from Model | |
protected array | $attributes | from Model | |
protected array | $dates | from Model | |
protected string | $primaryKey | from Model | |
protected string | $primaryKeyType | from Model | |
protected string | $table | Le nom de la table courrente |
from Model |
protected string | $connexion | Le nom de la connexion |
from Model |
static protected Builder | $builder | from Model |
Methods
Récuper des informations sur la Builder ensuite les supprimes dans celle-ci
Lance une execption en case de donnée non trouvé
Get User id
Details
in
Model at line 98
__construct(array $attributes = [])
Model constructor.
in
Model at line 113
static Collection
all(array $columns = [])
Rétourne tout les enregistrements
in
Model at line 129
static Model
first()
Get first rows
in
Model at line 139
static Model
latest()
Get last
in
Model at line 153
static Collection|Model|null
find(mixed $id, array $select = ['*'])
find
in
Model at line 173
static
describe()
Permet de retourner le description de la table
in
Model at line 186
static Collection|Model|null
findAndDelete(mixed $id, array $select = ['*'])
Récuper des informations sur la Builder ensuite les supprimes dans celle-ci
in
Model at line 203
static Model
findOrFail(mixed $id, array|callable $select = ['*'])
Lance une execption en case de donnée non trouvé
in
Model at line 218
static Model
create(array $data)
No description
in
Model at line 264
static Collection
paginate(int $n, int $current = 0, int $chunk = null)
paginate
in
Model at line 275
static
deleted(callable $cb)
Permet d'associer listerner
in
Model at line 288
static
created(callable $cb)
Permet d'associer un listerner
in
Model at line 301
static
updated(callable $cb)
Permet d'associer un listerner
in
Model at line 363
mixed
getKeyValue()
Permet de récupérer la valeur de clé primaire
in
Model at line 377
string
getKey()
Permet de récupérer la clé primaire
in
Model at line 388
int
save()
save aliase sur l'action insert
in
Model at line 468
int
delete()
Permet de supprimer un enregistrement
in
Model at line 496
bool
touch()
Permet de mettre le timestamp à jour.
in
Model at line 537
setAttributes(array $data)
Permet d'Assigner des valeurs aux attribues de la classe
in
Model at line 548
setAttribute(string $key, string $data)
Permet d'Assigner une valeur
in
Model at line 559
Builder
setConnexion(string $connexion)
Set connexion point
in
Model at line 573
array
getAttributes()
Permet de récupérer la liste des attributes.
in
Model at line 584
mixed|null
getAttribute(string $name)
Permet de récupérer un attribue
in
Model at line 606
array
toArray()
Permet de retourner les données
in
Model at line 615
offsetSet(mixed $offset, mixed $value)
No description
in
Model at line 628
bool
offsetExists(mixed $offset)
No description
in
Model at line 636
offsetUnset(mixed $offset)
No description
in
Model at line 645
mixed|null
offsetGet(mixed $offset)
No description
in
Model at line 653
jsonSerialize()
No description
in
Model at line 664
mixed|null
__get(string $name)
__get
in
Model at line 683
__set(string $name, $value)
__set
in
Model at line 693
string
__toString()
__toString
in
Model at line 705
mixed
__call(string $name, array $arguments)
__call
in
Model at line 723
static mixed
__callStatic(string $name, array $arguments)
__callStatic
protected mixed
getAuthenticateUserId()
Get User id