PHP Class Cartalyst\Sentinel\Checkpoints\ActivationCheckpoint

Inheritance: implements Cartalyst\Sentinel\Checkpoints\CheckpointInterface, use trait AuthenticatedCheckpoint
Afficher le fichier Open project: cartalyst/sentinel Class Usage Examples

Protected Properties

Свойство Type Description
$activations Cartalyst\Sentinel\Activations\ActivationRepositoryInterface The activation repository.

Méthodes publiques

Méthode Description
__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}

Méthodes protégées

Méthode Description
checkActivation ( Cartalyst\Sentinel\Users\UserInterface $user ) : boolean Checks the activation status of the given user.

Method Details

__construct() public méthode

Create a new activation checkpoint.
public __construct ( Cartalyst\Sentinel\Activations\ActivationRepositoryInterface $activations ) : void
$activations Cartalyst\Sentinel\Activations\ActivationRepositoryInterface
Résultat void

check() public méthode

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

checkActivation() protected méthode

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

login() public méthode

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

Property Details

$activations protected_oe property

The activation repository.
protected ActivationRepositoryInterface,Cartalyst\Sentinel\Activations $activations
Résultat Cartalyst\Sentinel\Activations\ActivationRepositoryInterface