PHP 클래스 Cartalyst\Sentinel\Persistences\IlluminatePersistenceRepository

상속: implements Cartalyst\Sentinel\Persistences\PersistenceRepositoryInterface, use trait Cartalyst\Support\Traits\RepositoryTrait
파일 보기 프로젝트 열기: cartalyst/sentinel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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}

메소드 상세

__construct() 공개 메소드

Create a new Sentinel persistence repository.
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

check() 공개 메소드

{@inheritDoc}
public check ( )

findByPersistenceCode() 공개 메소드

{@inheritDoc}
public findByPersistenceCode ( $code )

findUserByPersistenceCode() 공개 메소드

{@inheritDoc}
public findUserByPersistenceCode ( $code )

flush() 공개 메소드

{@inheritDoc}
public flush ( Cartalyst\Sentinel\Persistences\PersistableInterface $persistable, $forget = true )
$persistable Cartalyst\Sentinel\Persistences\PersistableInterface

forget() 공개 메소드

{@inheritDoc}
public forget ( )

persist() 공개 메소드

{@inheritDoc}
public persist ( Cartalyst\Sentinel\Persistences\PersistableInterface $persistable, $remember = false )
$persistable Cartalyst\Sentinel\Persistences\PersistableInterface

persistAndRemember() 공개 메소드

{@inheritDoc}
public persistAndRemember ( Cartalyst\Sentinel\Persistences\PersistableInterface $persistable )
$persistable Cartalyst\Sentinel\Persistences\PersistableInterface

remove() 공개 메소드

{@inheritDoc}
public remove ( $code )

프로퍼티 상세

$model 보호되어 있는 프로퍼티

Model name.
protected string $model
리턴 string

$session 보호되어 있는 프로퍼티

Session storage driver.
protected SessionInterface,Cartalyst\Sentinel\Sessions $session
리턴 Cartalyst\Sentinel\Sessions\SessionInterface

$single 보호되어 있는 프로퍼티

Single session.
protected bool $single
리턴 boolean