PHP 클래스 Cartalyst\Sentinel\Checkpoints\ActivationCheckpoint

상속: implements Cartalyst\Sentinel\Checkpoints\CheckpointInterface, use trait AuthenticatedCheckpoint
파일 보기 프로젝트 열기: cartalyst/sentinel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$activations Cartalyst\Sentinel\Activations\ActivationRepositoryInterface The activation repository.

공개 메소드들

메소드 설명
__construct ( Cartalyst\Sentinel\Activations\ActivationRepositoryInterface $activations ) : void Create a new activation checkpoint.
check ( Cartalyst\Sentinel\Users\UserInterface $user ) {@inheritDoc}
login ( Cartalyst\Sentinel\Users\UserInterface $user ) {@inheritDoc}

보호된 메소드들

메소드 설명
checkActivation ( Cartalyst\Sentinel\Users\UserInterface $user ) : boolean Checks the activation status of the given user.

메소드 상세

__construct() 공개 메소드

Create a new activation checkpoint.
public __construct ( Cartalyst\Sentinel\Activations\ActivationRepositoryInterface $activations ) : void
$activations Cartalyst\Sentinel\Activations\ActivationRepositoryInterface
리턴 void

check() 공개 메소드

{@inheritDoc}
public check ( Cartalyst\Sentinel\Users\UserInterface $user )
$user Cartalyst\Sentinel\Users\UserInterface

checkActivation() 보호된 메소드

Checks the activation status of the given user.
protected checkActivation ( Cartalyst\Sentinel\Users\UserInterface $user ) : boolean
$user Cartalyst\Sentinel\Users\UserInterface
리턴 boolean

login() 공개 메소드

{@inheritDoc}
public login ( Cartalyst\Sentinel\Users\UserInterface $user )
$user Cartalyst\Sentinel\Users\UserInterface

프로퍼티 상세

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

The activation repository.
protected ActivationRepositoryInterface,Cartalyst\Sentinel\Activations $activations
리턴 Cartalyst\Sentinel\Activations\ActivationRepositoryInterface