123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- namespace Symfony\Contracts\EventDispatcher;
- use Psr\EventDispatcher\StoppableEventInterface;
- class Event implements StoppableEventInterface
- {
- private $propagationStopped = false;
-
- public function isPropagationStopped(): bool
- {
- return $this->propagationStopped;
- }
-
- public function stopPropagation(): void
- {
- $this->propagationStopped = true;
- }
- }
|