AMQPQueue
PHP Manual

AMQPQueue::purge

(PECL amqp >= Unknown)

AMQPQueue::purgePurge the contents of a queue

Description

public bool AMQPQueue::purge ( string $queue_name )

Purge the contents of a queue.

Warning

This function is currently not documented; only its argument list is available.

Parameters

queue_name

The name of the queue to purge

Return Values

Returns TRUE on success or FALSE on failure.


AMQPQueue
PHP Manual