/// <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; PhpFilter.AddSystemFilter(new ZlibFilterFactory()); StreamWrapper.SystemStreamWrappers.Add(ZlibStreamWrapper.scheme, new ZlibStreamWrapper()); ZlibConfiguration.RegisterLegacyOptions(); }
public Registrator() { PhpFilter.AddSystemFilter(new ZlibFilterFactory()); StreamWrapper.SystemStreamWrappers.Add(ZlibStreamWrapper.scheme, new ZlibStreamWrapper()); RegisterLegacyOptions(); }