Class Event
An event.
- ICanBoogie\Event uses ICanBoogie\Accessor\AccessorTrait (not available)
Methods summary
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
#
__construct( mixed $target, string $type, array $payload = [] )
Creates an event and fires it immediately. |
public
|
|
public
|
Properties summary
public static
array
|
$profiling
Profiling information about events. |
#
[
'hooks' => [],
'unused' => []
]
|
Magic properties
public read-only
|
$stopped
bool |
public read-only
|
$used
int The number of event hooks that were invoked while dispatching the event. |
public read-only
|
$used_by
array Event hooks that were invoked while dispatching the event. |
public read-only
|
$target
mixed The object the event is dispatched on. |