EventQueueEntry
in package
Tags
Table of Contents
- $consume : bool
- $filter : Closure
- $resolve : Closure
- __construct() : mixed
- filter() : bool
- isConsume() : bool
- resolve() : void
Properties
$consume
private
bool
$consume
$filter
private
Closure
$filter
Closure(E):bool
$resolve
private
Closure
$resolve
Closure(E):void
Methods
__construct()
public
__construct(Closure $filter, Closure $resolve, bool $consume) : mixed
Parameters
- $filter : Closure
- $resolve : Closure
- $consume : bool
Return values
mixed —filter()
public
filter(E $event) : bool
Parameters
- $event : E
Return values
bool —isConsume()
public
isConsume() : bool
Return values
bool —resolve()
public
resolve(E $event) : void
Parameters
- $event : E