Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
288 | 288 |
289 if ($listener->wasCalled()) { | 289 if ($listener->wasCalled()) { |
290 if (null !== $this->logger) { | 290 if (null !== $this->logger) { |
291 $this->logger->debug('Notified event "{event}" to listener "{listener}".', $context); | 291 $this->logger->debug('Notified event "{event}" to listener "{listener}".', $context); |
292 } | 292 } |
293 | |
294 if (!isset($this->called[$eventName])) { | |
295 $this->called[$eventName] = new \SplObjectStorage(); | |
296 } | |
297 } else { | 293 } else { |
298 $this->callStack->detach($listener); | 294 $this->callStack->detach($listener); |
299 } | 295 } |
300 | 296 |
301 if (null !== $this->logger && $skipped) { | 297 if (null !== $this->logger && $skipped) { |