Files
kiri-core/core/Events/StoppableEventInterface.php
T
2021-08-24 18:10:07 +08:00

25 lines
434 B
PHP

<?php
namespace Kiri\Events;
/**
*
*/
interface StoppableEventInterface
{
/**
* Is propagation stopped?
*
* This will typically only be used by the Dispatcher to determine if the
* previous listener halted propagation.
*
* @return bool
* True if the Event is complete and no further listeners should be called.
* False to continue calling listeners.
*/
public function isPropagationStopped() : bool;
}