public function close() { }
/** * Close the channel and connections to AMQP * * @return void */ public function closeConnections() { if ($this->channel) { $this->channel->close(); } if ($this->connection) { $this->connection->close(); } }