/** * @inheritDoc */ public function disable() { self::$requestCallback = null; stream_wrapper_restore('http'); stream_wrapper_restore('https'); $this->status = self::DISABLED; }
/** * Cleanup. * * @return void */ public function __destruct() { self::$requestCallback = null; }