Property | Type | Description | |
---|---|---|---|
$priority | integer | priority |
Property | Type | Description | |
---|---|---|---|
$context | mixed | handler context | |
$event | string | event name | |
$handler | mixed | event handler | |
$propagate | boolean | continue propagation boolean |
Method | Description | |
---|---|---|
__construct ( string $event, callable $handler, mixed $context = null, integer $priority = null ) | Constructor | |
__invoke ( string $event, array $args ) : mixed | Invoke handler forewarder. | |
context ( ) : mixed | Retrieve the Event context | |
handler ( ) : mixed | Retrieve the Event handler | |
is ( $event, $handler, $context ) : boolean | Retrieve wether the event object matches a set of event params. | |
name ( ) : string | Retrieve the Event name | |
propagationStopped ( ) : boolean | Returns wether event propagation should continue. | |
stopPropagation ( ) : object | Prevents further events from being fired. |
public propagationStopped ( ) : boolean | ||
return | boolean | wether event propagation should continue. |
public stopPropagation ( ) : object | ||
return | object | $this |
protected bool $propagate | ||
return | boolean |