AMQPQueue
PHP Manual

AMQPQueue::setName

(PECL amqp >= Unknown)

AMQPQueue::setNameSet the queue name

Description

public void AMQPQueue::setName ( string $queue_name )

Set the name of the queue

Parameters

queue_name

The name of the queue as a string.

Return Values

Returns TRUE on success or FALSE on failure.


AMQPQueue
PHP Manual