PHP Класс Flarum\Core\PasswordToken

Наследование: extends Flarum\Database\AbstractModel
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$incrementing boolean Use a custom primary key for this model.

Защищенные свойства (Protected)

Свойство Тип Описание
$dates
$table

Открытые методы

Метод Описание
generate ( integer $userId ) : static Generate a password token for the specified user.
user ( ) : BelongsTo Define the relationship with the owner of this password token.

Описание методов

generate() публичный статический Метод

Generate a password token for the specified user.
public static generate ( integer $userId ) : static
$userId integer
Результат static

user() публичный Метод

Define the relationship with the owner of this password token.
public user ( ) : BelongsTo
Результат Illuminate\Database\Eloquent\Relations\BelongsTo

Описание свойств

$dates защищенное свойство

protected $dates

$incrementing публичное свойство

Use a custom primary key for this model.
public bool $incrementing
Результат boolean

$table защищенное свойство

protected $table