for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Jarvis\Skill\EventBroadcaster;
/**
* @author Eric Chau <[email protected]>
*/
class SimpleEvent implements EventInterface
{
private $isPropagationStopped = false;
* {@inheritdoc}
public function isPropagationStopped(): bool
return $this->isPropagationStopped;
}
public function stopPropagation(): void
$this->isPropagationStopped = true;