25 lines
439 B
PHP
25 lines
439 B
PHP
<?php
|
|
|
|
namespace Snowflake\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;
|
|
|
|
}
|