code: public static function unregister()
      {
          if (isset(self::$autoloadFn)) {
              spl_autoload_unregister(self::$autoloadFn);
              self::$autoloadFn = null;
          }
  
          self::$aliases = [];
      }
docs: Unregisters the aliases and class autoloading function