You are here

public function Event::stopPropagation in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/event-dispatcher/Event.php \Symfony\Component\EventDispatcher\Event::stopPropagation()

Stops the propagation of the event to further event listeners.

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().

1 call to Event::stopPropagation()
GetResponseEvent::setResponse in vendor/symfony/http-kernel/Event/GetResponseEvent.php
Sets a response and stops event propagation.

File

vendor/symfony/event-dispatcher/Event.php, line 64

Class

Event
Event is the base class for classes containing event data.

Namespace

Symfony\Component\EventDispatcher

Code

public function stopPropagation() {
  $this->propagationStopped = true;
}