AMQPConnection
PHP Manual

AMQPConnection::getVhost

(PECL amqp >= Unknown)

AMQPConnection::getVhostGet the configured vhost

说明

public string AMQPConnection::getVhost ( void )

Get the configured vhost.

参数

此函数没有参数。

返回值

The configured virtual host as a string.


AMQPConnection
PHP Manual