/// <summary> /// Called by the Core after the library is loaded. /// </summary> protected override void Loaded(PhpLibraryAttribute assemblyAttribute, LibraryConfigStore configStore) { base.Loaded(assemblyAttribute, configStore); singleton = this; ZipConfiguration.RegisterLegacyOptions(); StreamWrapper.RegisterSystemWrapper(new ZipStreamWrapper()); }