protected function delete($id)
    {
        $this->redis->zrem("$this->channel.reserved", $id);
        $this->redis->hdel("$this->channel.attempts", $id);
        $this->redis->hdel("$this->channel.messages", $id);
    }
protected function delete($id)
    {
        $this->redis->zrem("$this->channel.reserved", $id);
        $this->redis->hdel("$this->channel.attempts", $id);
        $this->redis->hdel("$this->channel.messages", $id);
    }
protected function delete ( $ id ) { $ this -> redis -> zrem ( "$this->channel.reserved" , $ id ) ; $ this -> redis -> hdel ( "$this->channel.attempts" , $ id ) ; $ this -> redis -> hdel ( "$this->channel.messages" , $ id ) ; }
Deletes message by ID.

@param int $id of a message
Deletes message by ID .