PHP 인터페이스 Cartalyst\Sentinel\Reminders\ReminderRepositoryInterface

파일 보기 프로젝트 열기: cartalyst/sentinel 0 사용 예제들

공개 메소드들

메소드 설명
complete ( Cartalyst\Sentinel\Users\UserInterface $user, string $code, string $password ) : boolean Complete reminder for the given user.
create ( Cartalyst\Sentinel\Users\UserInterface $user ) : string Create a new reminder record and code.
exists ( Cartalyst\Sentinel\Users\UserInterface $user, string $code = null ) : boolean Check if a valid reminder exists.
removeExpired ( ) : integer Remove expired reminder codes.

메소드 상세

complete() 공개 메소드

Complete reminder for the given user.
public complete ( Cartalyst\Sentinel\Users\UserInterface $user, string $code, string $password ) : boolean
$user Cartalyst\Sentinel\Users\UserInterface
$code string
$password string
리턴 boolean

create() 공개 메소드

Create a new reminder record and code.
public create ( Cartalyst\Sentinel\Users\UserInterface $user ) : string
$user Cartalyst\Sentinel\Users\UserInterface
리턴 string

exists() 공개 메소드

Check if a valid reminder exists.
public exists ( Cartalyst\Sentinel\Users\UserInterface $user, string $code = null ) : boolean
$user Cartalyst\Sentinel\Users\UserInterface
$code string
리턴 boolean

removeExpired() 공개 메소드

Remove expired reminder codes.
public removeExpired ( ) : integer
리턴 integer