You are here

public function WrappedListener::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/event-dispatcher/Debug/WrappedListener.php \Symfony\Component\EventDispatcher\Debug\WrappedListener::__construct()

File

vendor/symfony/event-dispatcher/Debug/WrappedListener.php, line 30

Class

WrappedListener
@author Fabien Potencier <fabien@symfony.com>

Namespace

Symfony\Component\EventDispatcher\Debug

Code

public function __construct($listener, $name, Stopwatch $stopwatch, EventDispatcherInterface $dispatcher = null) {
  $this->listener = $listener;
  $this->name = $name;
  $this->stopwatch = $stopwatch;
  $this->dispatcher = $dispatcher;
  $this->called = false;
  $this->stoppedPropagation = false;
}