class AMQPBasicProperties (View source)

stub class representing AMQPBasicProperties from pecl-amqp

Methods

__construct(string|null $contentType = null, string|null $contentEncoding = null, array $headers = [], int $deliveryMode = AMQP_DELIVERY_MODE_TRANSIENT, int $priority = 0, string|null $correlationId = null, string|null $replyTo = null, string|null $expiration = null, string|null $messageId = null, int|null $timestamp = null, string|null $type = null, string|null $userId = null, string|null $appId = null, string|null $clusterId = null)

No description

string|null
getContentType()

Get the message content type.

string|null
getContentEncoding()

Get the content encoding of the message.

array
getHeaders()

Get the headers of the message.

int
getDeliveryMode()

Get the delivery mode of the message.

int
getPriority()

Get the priority of the message.

string|null
getCorrelationId()

Get the message correlation id.

string|null
getReplyTo()

Get the reply-to address of the message.

string|null
getExpiration()

Get the expiration of the message.

string|null
getMessageId()

Get the message id of the message.

int|null
getTimestamp()

Get the timestamp of the message.

string|null
getType()

Get the message type.

string|null
getUserId()

Get the message user id.

string|null
getAppId()

Get the application id of the message.

string|null
getClusterId()

Get the cluster id of the message.

Details

__construct(string|null $contentType = null, string|null $contentEncoding = null, array $headers = [], int $deliveryMode = AMQP_DELIVERY_MODE_TRANSIENT, int $priority = 0, string|null $correlationId = null, string|null $replyTo = null, string|null $expiration = null, string|null $messageId = null, int|null $timestamp = null, string|null $type = null, string|null $userId = null, string|null $appId = null, string|null $clusterId = null)

No description

Parameters

string|null $contentType
string|null $contentEncoding
array $headers
int $deliveryMode
int $priority
string|null $correlationId
string|null $replyTo
string|null $expiration
string|null $messageId
int|null $timestamp
string|null $type
string|null $userId
string|null $appId
string|null $clusterId

string|null getContentType()

Get the message content type.

Return Value

string|null

The content type of the message.

string|null getContentEncoding()

Get the content encoding of the message.

Return Value

string|null

The content encoding of the message.

array getHeaders()

Get the headers of the message.

Return Value

array

An array of key value pairs associated with the message.

int getDeliveryMode()

Get the delivery mode of the message.

Return Value

int

The delivery mode of the message.

int getPriority()

Get the priority of the message.

Return Value

int

The message priority.

string|null getCorrelationId()

Get the message correlation id.

Return Value

string|null

The correlation id of the message.

string|null getReplyTo()

Get the reply-to address of the message.

Return Value

string|null

The contents of the reply to field.

string|null getExpiration()

Get the expiration of the message.

Return Value

string|null

The message expiration.

string|null getMessageId()

Get the message id of the message.

Return Value

string|null

The message id

int|null getTimestamp()

Get the timestamp of the message.

Return Value

int|null

The message timestamp.

string|null getType()

Get the message type.

Return Value

string|null

The message type.

string|null getUserId()

Get the message user id.

Return Value

string|null

The message user id.

string|null getAppId()

Get the application id of the message.

Return Value

string|null

The application id of the message.

string|null getClusterId()

Get the cluster id of the message.

Return Value

string|null

The cluster id of the message.