PHP Interface Cartalyst\Sentinel\Reminders\ReminderRepositoryInterface

Afficher le fichier Open project: cartalyst/sentinel Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

complete() public méthode

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
Résultat boolean

create() public méthode

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

exists() public méthode

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

removeExpired() public méthode

Remove expired reminder codes.
public removeExpired ( ) : integer
Résultat integer