Свойство | Type | Description | |
---|---|---|---|
$incrementing | boolean | Use a custom primary key for this model. |
Свойство | Type | Description | |
---|---|---|---|
$dates | |||
$table |
Méthode | Description | |
---|---|---|
generate ( string $email, integer $userId ) : static | Generate an email token for the specified user. | |
scopeValidOrFail ( |
Find the token with the given ID, and assert that it has not expired. | |
user ( ) : |
Define the relationship with the owner of this email token. |
public scopeValidOrFail ( |
||
$query | ||
$id | string | |
Résultat | static |
public user ( ) : |
||
Résultat |
public bool $incrementing | ||
Résultat | boolean |