public function delete($name)
    {
        if ($this->_queues->remove($name)) {
            if (isset($this->_queueObjects[$name])) {
                unset($this->_queueObjects[$name]);
            }

            return $this->_rediska->delete($this->_getKeyName("queue_$name"));
        }
    }
public function delete($name)
    {
        if ($this->_queues->remove($name)) {
            if (isset($this->_queueObjects[$name])) {
                unset($this->_queueObjects[$name]);
            }

            return $this->_rediska->delete($this->_getKeyName("queue_$name"));
        }
    }
public function delete ( $ name ) { if ( $ this -> _queues -> remove ( $ name ) ) { if ( isset ( $ this -> _queueObjects [ $ name ] ) ) { unset ( $ this -> _queueObjects [ $ name ] ) ; } return $ this -> _rediska -> delete ( $ this -> _getKeyName ( "queue_$name" ) ) ; } }
Delete a queue and all of it's messages

Returns false if the queue is not found, true if the queue exists

@param  string  $name queue name
@return boolean
Delete a queue and all of it s messages