This method will close an open persistent connection with the AMQP
broker.
public pdisconnect ( ) : boolean | ||
리턴 | boolean | true if connection was found and closed, false if no persistent connection with this host, port, vhost and login could be found, |
/** * @inheritdoc */ public function disconnect() { if ($this->options->getPersistent()) { $this->connection->pdisconnect(); } else { $this->connection->disconnect(); } }