for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Yiisoft\Widget\Event;
use Psr\EventDispatcher\StoppableEventInterface;
/**
* BeforeRun event is raised right before executing a widget.
*/
class BeforeRun implements StoppableEventInterface
{
private $stopPropagation = false;
public function stopPropagation(): void
$this->stopPropagation = true;
}
public function isPropagationStopped(): bool
return $this->stopPropagation;