Property | Type | Description | |
---|---|---|---|
$incrementing | boolean | Use a custom primary key for this model. |
Property | Type | Description | |
---|---|---|---|
$dates | |||
$table |
Method | Description | |
---|---|---|
generate ( $payload ) : static | Generate an email token for the specified user. | |
getPayloadAttribute ( string $value ) : string | Unserialize the payload attribute from the database's JSON value. | |
scopeValidOrFail ( |
Find the token with the given ID, and assert that it has not expired. | |
setPayloadAttribute ( string $value ) | Serialize the payload attribute to be stored in the database as JSON. |
public static generate ( $payload ) : static | ||
return | static |
public getPayloadAttribute ( string $value ) : string | ||
$value | string | |
return | string |
public scopeValidOrFail ( |
||
$query | ||
$id | string | |
return | static |
public setPayloadAttribute ( string $value ) | ||
$value | string |
public bool $incrementing | ||
return | boolean |