* Queue now has a destroy() method
* Examples updated
This commit is contained in:
2018-04-15 18:50:19 +02:00
parent 4e8ab73a88
commit dcb059e4be
3 changed files with 34 additions and 0 deletions

View File

@ -32,6 +32,13 @@ class Queue
}
public function destroy()
{
if ($this->resource) {
msg_remove_queue($this->resource);
}
}
/**
* Send to the queue
*