Property | Type | Description | |
---|---|---|---|
$cookie | Cartalyst\Sentinel\Cookies\CookieInterface | Cookie storage driver. | |
$model | string | Model name. | |
$session | Cartalyst\Sentinel\Sessions\SessionInterface | Session storage driver. | |
$single | boolean | Single session. |
Method | Description | |
---|---|---|
__construct ( Cartalyst\Sentinel\Sessions\SessionInterface $session, Cartalyst\Sentinel\Cookies\CookieInterface $cookie, string $model = null, boolean $single = false ) : void | Create a new Sentinel persistence repository. | |
check ( ) | {@inheritDoc} | |
findByPersistenceCode ( $code ) | {@inheritDoc} | |
findUserByPersistenceCode ( $code ) | {@inheritDoc} | |
flush ( Cartalyst\Sentinel\Persistences\PersistableInterface $persistable, $forget = true ) | {@inheritDoc} | |
forget ( ) | {@inheritDoc} | |
persist ( Cartalyst\Sentinel\Persistences\PersistableInterface $persistable, $remember = false ) | {@inheritDoc} | |
persistAndRemember ( Cartalyst\Sentinel\Persistences\PersistableInterface $persistable ) | {@inheritDoc} | |
remove ( $code ) | {@inheritDoc} |
public __construct ( Cartalyst\Sentinel\Sessions\SessionInterface $session, Cartalyst\Sentinel\Cookies\CookieInterface $cookie, string $model = null, boolean $single = false ) : void | ||
$session | Cartalyst\Sentinel\Sessions\SessionInterface | |
$cookie | Cartalyst\Sentinel\Cookies\CookieInterface | |
$model | string | |
$single | boolean | |
return | void |
public flush ( Cartalyst\Sentinel\Persistences\PersistableInterface $persistable, $forget = true ) | ||
$persistable | Cartalyst\Sentinel\Persistences\PersistableInterface |
public persist ( Cartalyst\Sentinel\Persistences\PersistableInterface $persistable, $remember = false ) | ||
$persistable | Cartalyst\Sentinel\Persistences\PersistableInterface |
public persistAndRemember ( Cartalyst\Sentinel\Persistences\PersistableInterface $persistable ) | ||
$persistable | Cartalyst\Sentinel\Persistences\PersistableInterface |
protected CookieInterface,Cartalyst\Sentinel\Cookies $cookie | ||
return | Cartalyst\Sentinel\Cookies\CookieInterface |
protected SessionInterface,Cartalyst\Sentinel\Sessions $session | ||
return | Cartalyst\Sentinel\Sessions\SessionInterface |