Property | Type | Description | |
---|---|---|---|
$expires | integer | The expiration time in seconds. | |
$model | string | The Eloquent reminder model name. | |
$users | Cartalyst\Sentinel\Users\UserRepositoryInterface | The user repository. |
Method | Description | |
---|---|---|
__construct ( Cartalyst\Sentinel\Users\UserRepositoryInterface $users, string $model = null, integer $expires = null ) : void | Create a new Illuminate reminder repository. | |
complete ( Cartalyst\Sentinel\Users\UserInterface $user, $code, $password ) | {@inheritDoc} | |
create ( Cartalyst\Sentinel\Users\UserInterface $user ) | {@inheritDoc} | |
exists ( Cartalyst\Sentinel\Users\UserInterface $user, $code = null ) | {@inheritDoc} | |
removeExpired ( ) | {@inheritDoc} |
Method | Description | |
---|---|---|
expires ( ) : Carbon\Carbon | Returns the expiration date. | |
generateReminderCode ( ) : string | Returns a random string for a reminder code. |
public complete ( Cartalyst\Sentinel\Users\UserInterface $user, $code, $password ) | ||
$user | Cartalyst\Sentinel\Users\UserInterface |
public create ( Cartalyst\Sentinel\Users\UserInterface $user ) | ||
$user | Cartalyst\Sentinel\Users\UserInterface |
public exists ( Cartalyst\Sentinel\Users\UserInterface $user, $code = null ) | ||
$user | Cartalyst\Sentinel\Users\UserInterface |
protected expires ( ) : Carbon\Carbon | ||
return | Carbon\Carbon |
protected generateReminderCode ( ) : string | ||
return | string |
protected int $expires | ||
return | integer |
protected string $model | ||
return | string |