Delete a queue and its contents.

AMQPQueue::declare
AMQPQueue::get
AMQPQueue
PHP Manual

# AMQPQueue::delete

(PECL amqp >= Unknown)

AMQPQueue::delete — Delete a queue and its contents.

### Description

public void AMQPQueue::delete ( string `$queue_name` )

Delete a queue from the broker, including its entire contents of unread or unacknowledged messages.

### Parameters

`queue_name`

  The name of the queue to delete.

### Return Values

AMQPQueue::declare
AMQPQueue::get
AMQPQueue
PHP Manual