AMQPQueue::consume
AMQPQueue::delete
AMQPQueue
PHP Manual

# AMQPQueue::declare

(PECL amqp >= Unknown)

AMQPQueue::declare — Declare a new queue

### Opis

public void AMQPQueue::declare ( string `$queue_name` [, int `$flags` = `AMQP_AUTODELETE` ] )

Declare a new queue on the broker.

### Parametry

`queue_name`

  The name of the queue to declare.

`flags`

  A bitmask of any of the flags: `AMQP_AUTODELETE`, `AMQP_PASSIVE`, `AMQP_DURABLE`, `AMQP_NOACK`.

### Zwracane wartości

AMQPQueue::consume
AMQPQueue::delete
AMQPQueue
PHP Manual