Property | Type | Description | |
---|---|---|---|
$expires | integer | The activation expiration time, in seconds. | |
$model | string | The Eloquent activation model name. |
Method | Description | |
---|---|---|
__construct ( string $model = null, integer $expires = null ) : void | Create a new Illuminate activation repository. | |
complete ( Cartalyst\Sentinel\Users\UserInterface $user, $code ) | {@inheritDoc} | |
completed ( Cartalyst\Sentinel\Users\UserInterface $user ) | {@inheritDoc} | |
create ( Cartalyst\Sentinel\Users\UserInterface $user ) | {@inheritDoc} | |
exists ( Cartalyst\Sentinel\Users\UserInterface $user, $code = null ) | {@inheritDoc} | |
remove ( Cartalyst\Sentinel\Users\UserInterface $user ) | {@inheritDoc} | |
removeExpired ( ) | {@inheritDoc} |
Method | Description | |
---|---|---|
expires ( ) : Carbon\Carbon | Returns the expiration date. | |
generateActivationCode ( ) : string | Return a random string for an activation code. |
public complete ( Cartalyst\Sentinel\Users\UserInterface $user, $code ) | ||
$user | Cartalyst\Sentinel\Users\UserInterface |
public completed ( Cartalyst\Sentinel\Users\UserInterface $user ) | ||
$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 generateActivationCode ( ) : string | ||
return | string |
public remove ( Cartalyst\Sentinel\Users\UserInterface $user ) | ||
$user | Cartalyst\Sentinel\Users\UserInterface |
protected int $expires | ||
return | integer |
protected string $model | ||
return | string |