Свойство | Тип | Описание | |
---|---|---|---|
$expires | integer | The activation expiration time, in seconds. | |
$model | string | The Eloquent activation model name. |
Метод | Описание | |
---|---|---|
__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} |
Метод | Описание | |
---|---|---|
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 | ||
Результат | Carbon\Carbon |
protected generateActivationCode ( ) : string | ||
Результат | string |
public remove ( Cartalyst\Sentinel\Users\UserInterface $user ) | ||
$user | Cartalyst\Sentinel\Users\UserInterface |
protected int $expires | ||
Результат | integer |
protected string $model | ||
Результат | string |