Forget all of the pushed listeners.

@return void
776289
public function forgetPushed()
    {
        foreach ($this->listeners as $key => $value) {
            if (substr($key, -7) === '_pushed') {
                $this->forget($key);
            }
        }
    }
699101
public function clear()
    {
        $this->_actual = null;
        $this->_passed = null;
        $this->_processed = null;
        $this->_not = false;
        $this->_timeout = 0;
        $this->_logs = [];
        $this->_deferred = null;
    }
305220
def remove_all_listeners(self, event=None):
        
        if event is not None:
            self._events[event] = OrderedDict()
        else:
            self._events = defaultdict(OrderedDict)
34270
public function cancel()
    {
        if (!empty($this->stack)) {
            array_pop($this->stack);
            if ($this->capturing > 0) {
                $this->capturing--;
                ob_end_flush();
            }
        }
    }
1219382
private function destructEventEmitterTrait()
    {
        $this->emitterBlocked = EventEmitter::EVENTS_FORWARD;
        $this->eventPointers = [];
        $this->eventListeners = [];
        $this->forwardListeners = [];
    }
1178788
public function cancel()
    {
        $this->cb = null;
        $this->context = null;
        if ($this->timer !== null) {
            Timer::remove($this->timer);
            $this->timer = null;
        }
    }
394500
function off(eventName, handler, context, args, once) {
    if (!this.__listeners || !this.__listeners[eventName]) {
        return;
    }
    this
        .getListeners(eventName, handler, context, args, once)
        .forEach((config) => {
            this.__listeners[eventName].splice(this.__listeners[eventName].indexOf(config), 1);
        });

}
1056865
public function forgetUsed()
    {
        if ($this->app['files']->exists($this->getUsedStoragePath())) {
            $this->app['files']->delete($this->getUsedStoragePath());
        }
    }
716805
public function clearAllListeners()
    {
        foreach ($this->raw_listeners as $eventName => $data) {
            foreach ($data as $listeners) {
                foreach ($listeners as $listener) {
                    $this->removeListener($eventName, $listener);
                }
            }
        }

        $this->raw_listeners = [];
    }
854767
protected void onRemoved() {
        List<AnalyzerChangeListener> listeners = getAllListeners();
        for (AnalyzerChangeListener listener : listeners) {
            listener.onRemove(this);
        }
    }
410119
function () {
            var map = this._getInitialListenersList();
            for (var i = 0; i < map.length; i++) {
                this._removeListener(map[i].evt, map[i].cb);
            }
            this.eventsAlreadyAttached = false;
        }
1374785
function() {

		for (var i = 0, count = this._bind_changed_listeners.length; i < count; i++) {

			this._binds[i].removeListener(this._bind_changed_listeners[i]);

		}

		this._bind_changed_listeners = null;
		this.suspendRefreshable();

	}
77545
function removeListener(listeners) {
		for (var i = listeners.length; --i >= 0;) {
			// There should only be ONE exhausted listener.
			if (!listeners[i].calls) {
				return listeners.splice(i, 1);
			}
		}
	}
747576
public function cleanup(): void
    {
        foreach ($this->getStore() as $key => $value)
        {
            $this->remove($key);
        }
    }
896183
public function removeListener(Listener $listener) {
		foreach ($this->listeners as $id => $listening) {
			if ($listener == $listening) {
				unset($this->listeners[$id]);
				break;
			}
		}
	}
1051758
void removeAllEventListeners() {
        for (JcrListenerAdapter adapter : this.listeners) {
            assert (adapter != null);
            this.repositoryObservable.unregister(adapter);
        }
        this.listeners.clear();
    }
62629
public function forget()
    {
        foreach ($this->cachedKeys as $key => $signature)
        {
            if ($this->cache->has($key))
            {
                $this->cache->forget($key);
            }
        }

        $this->cachedKeys = [];
        $this->storeCachedKeys();
    }