/** * Disconnect from queue. */ public function disconnect() { $this->channel->close(); $this->connection->close(); }