PHP Class Symfony\Bundle\FrameworkBundle\Debug\TraceableEventDispatcher

Author: Fabien Potencier ([email protected])
Inheritance: extends Symfony\Bundle\FrameworkBundle\ContainerAwareEventDispatcher, implements Symfony\Component\HttpKernel\Debug\TraceableEventDispatcherInterface
Show file Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\DependencyInjection\ContainerInterface $container, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null ) Constructor.
addListener ( $eventName, $listener, $priority ) {@inheritDoc}
getCalledListeners ( ) {@inheritDoc}
getNotCalledListeners ( ) {@inheritDoc}

Protected Methods

Method Description
doDispatch ( $listeners, $eventName, Symfony\Component\EventDispatcher\Event $event ) {@inheritDoc}

Private Methods

Method Description
getListenerInfo ( object $listener, string $eventName ) : array Returns information about the listener

Method Details

__construct() public method

Constructor.
public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $container, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
$container Symfony\Component\DependencyInjection\ContainerInterface A ContainerInterface instance
$logger Symfony\Component\HttpKernel\Log\LoggerInterface A LoggerInterface instance

addListener() public method

{@inheritDoc}
public addListener ( $eventName, $listener, $priority )

doDispatch() protected method

{@inheritDoc}
protected doDispatch ( $listeners, $eventName, Symfony\Component\EventDispatcher\Event $event )
$event Symfony\Component\EventDispatcher\Event

getCalledListeners() public method

{@inheritDoc}
public getCalledListeners ( )

getNotCalledListeners() public method

{@inheritDoc}