Jrean\UserVerification\UserVerification::process PHP Method

process() public method

Process the user verification for the given e-mail and token.
public process ( string $email, string $token, string $userTable ) : void
$email string
$token string
$userTable string
return void
    public function process($email, $token, $userTable)
    {
        $user = $this->getUserByEmail($email, $userTable);
        $this->isVerified($user);
        $this->verifyToken($user->verification_token, $token);
        $this->wasVerified($user);
    }