PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Delete a queue

The deleteQueue() method removes the queue from the service. You must use the identifier received from createQueue() when calling deleteQueue().

Example 88. Deleting a queue

<?php
$queueId 
$queues->createQueue('my-queue');

// ... do stuff ...

$queues->deleteQueue($queueId);

Note

Deleting a queue can take significant time for some services. Typically, you cannot re-create a queue with the same name until the original queue is fully removed.

Zend Framework