AMQPConnection
PHP Manual

AMQPConnection::getHost

(PECL amqp >= Unknown)

AMQPConnection::getHostGet the configured host

说明

public string AMQPConnection::getHost ( void )

Get the value of the configured host.

参数

此函数没有参数。

返回值

The configured host as a string.


AMQPConnection
PHP Manual