AMQPQueue::declare
AMQPQueue::get
AMQPQueue
PHP Manual

# AMQPQueue::delete

(PECL amqp >= Unknown)

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

### Opis

public bool AMQPQueue::delete ( void )

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

### Parametry

Ta funkcja nie posiada parametrów.

### Błędy/Wyjątki

Throws AMQPChannelException if the channel is not open.

Throws AMQPConnectionException if the connection to the broker was lost.

### Zwracane wartości

Zwraca `TRUE` w przypadku powodzenia, `FALSE` w przypadku błędu.

AMQPQueue::declare
AMQPQueue::get
AMQPQueue
PHP Manual