public static function clear() : void
    {
        if (!empty(self::$sessionVar)) {
            foreach (self::$sessionVar as $value) {
                $GLOBALS[$value] = $_SESSION[$value] = null;
            }
        }
    }