class TraceableEventDispatcher

Collects some data about event listeners.

This event dispatcher delegates the dispatching to another one.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of TraceableEventDispatcher

1 file declares its use of TraceableEventDispatcher

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php, line 32

Namespace

Symfony\Component\HttpKernel\Debug
View source

Members

Namesort descending Modifiers Type Description Overrides
TraceableEventDispatcher::$called private property
TraceableEventDispatcher::$dispatcher private property
TraceableEventDispatcher::$firstCalledEvent private property
TraceableEventDispatcher::$id private property
TraceableEventDispatcher::$logger private property
TraceableEventDispatcher::$profiler private property
TraceableEventDispatcher::$stopwatch private property
TraceableEventDispatcher::$wrappedListeners private property
TraceableEventDispatcher::addListener public function Adds an event listener that listens on the specified events. Overrides EventDispatcherInterface::addListener
TraceableEventDispatcher::addSubscriber public function Adds an event subscriber. Overrides EventDispatcherInterface::addSubscriber
TraceableEventDispatcher::dispatch public function Dispatches an event to all registered listeners. Overrides EventDispatcherInterface::dispatch
TraceableEventDispatcher::getCalledListeners public function Gets the called listeners. Overrides TraceableEventDispatcherInterface::getCalledListeners
TraceableEventDispatcher::getListenerInfo private function Returns information about the listener
TraceableEventDispatcher::getListeners public function Gets the listeners of a specific event or all listeners. Overrides EventDispatcherInterface::getListeners
TraceableEventDispatcher::getNotCalledListeners public function Gets the not called listeners. Overrides TraceableEventDispatcherInterface::getNotCalledListeners
TraceableEventDispatcher::hasListeners public function Checks whether an event has any registered listeners. Overrides EventDispatcherInterface::hasListeners
TraceableEventDispatcher::logSkippedListeners public function This is a private method and must not be used.
TraceableEventDispatcher::postDispatch private function
TraceableEventDispatcher::preDispatch private function
TraceableEventDispatcher::preListenerCall public function This is a private method.
TraceableEventDispatcher::removeListener public function Removes an event listener from the specified events. Overrides EventDispatcherInterface::removeListener
TraceableEventDispatcher::removeSubscriber public function Removes an event subscriber. Overrides EventDispatcherInterface::removeSubscriber
TraceableEventDispatcher::saveInfoInProfile private function Update the profiles with the timing and events information and saves them.
TraceableEventDispatcher::setProfiler public function Sets the profiler.
TraceableEventDispatcher::unwrapListener private function
TraceableEventDispatcher::updateProfiles private function Updates the stopwatch data in the profile hierarchy.
TraceableEventDispatcher::wrapListener private function
TraceableEventDispatcher::__call public function Proxies all method calls to the original event dispatcher.
TraceableEventDispatcher::__construct public function Constructor.