Property | Type | Description | |
---|---|---|---|
$closed | boolean | Flag to indicate if this listener is closed. | |
$loop | React\EventLoop\LoopInterface | Event loop. | |
$queue | AMQPQueue | AMQP message queue to read messages from. |
Method | Description | |
---|---|---|
__construct ( AMQPQueue $queue, React\EventLoop\LoopInterface $loop, JMS\Serializer\Serializer $serializer ) | ||
close ( ) | ||
listen ( ) | ||
stop ( ) |
Method | Description | |
---|---|---|
handle ( stdClass $event ) : void | The action to perform | |
listensTo ( string $typeName ) : boolean | This method will be responsible to decide whether this listener listens to an specific event type or not, given an event type name |
public __construct ( AMQPQueue $queue, React\EventLoop\LoopInterface $loop, JMS\Serializer\Serializer $serializer ) | ||
$queue | AMQPQueue | |
$loop | React\EventLoop\LoopInterface | |
$serializer | JMS\Serializer\Serializer |
protected bool $closed | ||
return | boolean |
protected LoopInterface,React\EventLoop $loop | ||
return | React\EventLoop\LoopInterface |