Jrean\UserVerification\UserVerification::isCompliant PHP Method

isCompliant() protected method

Determine if the given model table has the verified and verification_token columns.
protected isCompliant ( Illuminate\Contracts\Auth\Authenticatable $user ) : boolean
$user Illuminate\Contracts\Auth\Authenticatable
return boolean
    protected function isCompliant(AuthenticatableContract $user)
    {
        return $this->hasColumn($user, 'verified') && $this->hasColumn($user, 'verification_token') ? true : false;
    }