RabbitMQPublisher
Table of Contents
Properties
-
$channel
: AMQPChannel
-
$connection
: AMQPStreamConnection
Methods
-
__construct()
: mixed
-
__destruct()
: mixed
-
publish()
: void
$channel
protected
AMQPChannel
$channel
$connection
protected
AMQPStreamConnection
$connection
__construct()
public
__construct() : mixed
__destruct()
public
__destruct() : mixed
publish()
public
publish(string $exchange, string $routingKey, array<string|int, mixed> $data) : void
Parameters
-
$exchange
: string
-
-
$routingKey
: string
-
-
$data
: array<string|int, mixed>
-