Cartalyst\Sentinel\Checkpoints\ActivationCheckpoint::checkActivation PHP Метод

checkActivation() защищенный Метод

Checks the activation status of the given user.
protected checkActivation ( Cartalyst\Sentinel\Users\UserInterface $user ) : boolean
$user Cartalyst\Sentinel\Users\UserInterface
Результат boolean
    protected function checkActivation(UserInterface $user)
    {
        $completed = $this->activations->completed($user);
        if (!$completed) {
            $exception = new NotActivatedException('Your account has not been activated yet.');
            $exception->setUser($user);
            throw $exception;
        }
    }