AMQPConnection
PHP Manual

AMQPConnection::getPort

(PECL amqp >= Unknown)

AMQPConnection::getPortGet the configured port

Description

public int AMQPConnection::getPort ( void )

Return the port configured for this AMQPConnection object.

Parameters

This function has no parameters.

Return Values

The configured port as an integer.


AMQPConnection
PHP Manual