PHP 클래스 Flarum\Core\PasswordToken

상속: extends Flarum\Database\AbstractModel
파일 보기 프로젝트 열기: flarum/core 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$incrementing boolean Use a custom primary key for this model.

보호된 프로퍼티들

프로퍼티 타입 설명
$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