• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Entropyphp / EntropyPHP / 16597490461

29 Jul 2025 01:27PM UTC coverage: 51.117% (-1.5%) from 52.605%
16597490461

push

github

willy68
First commit

206 of 403 relevant lines covered (51.12%)

1.81 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Event/StoppableEvent.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Entropy\Event;
6

7
use Psr\EventDispatcher\StoppableEventInterface;
8

9
class StoppableEvent extends Event implements StoppableEventInterface
10
{
11
    protected bool $propagationStopped = false;
12

13
    /**
14
     * Stops propagation of the event to further event listeners.
15
     *
16
     * If multiple event listeners are connected to the same event, no
17
     * further event listener will be triggered once any trigger calls
18
     * stopPropagation().
19
     */
20
    public function stopPropagation(): void
×
21
    {
22
        $this->propagationStopped = true;
×
23
    }
24

25
    public function isPropagationStopped(): bool
×
26
    {
27
        return $this->propagationStopped;
×
28
    }
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc