Свойство | Тип | Описание | |
---|---|---|---|
$cookie | Cartalyst\Sentinel\Cookies\CookieInterface | Cookie storage driver. | |
$model | string | Model name. | |
$session | Cartalyst\Sentinel\Sessions\SessionInterface | Session storage driver. | |
$single | boolean | Single session. |
Метод | Описание | |
---|---|---|
__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 | |
Результат | void |
public findUserByPersistenceCode ( $code ) |
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 | ||
Результат | Cartalyst\Sentinel\Cookies\CookieInterface |
protected SessionInterface,Cartalyst\Sentinel\Sessions $session | ||
Результат | Cartalyst\Sentinel\Sessions\SessionInterface |