Skip to content

Commit 22731a3

Browse files
committed
Allow setting AMQP option "login"
1 parent 8d29dbf commit 22731a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Transport/Connection.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class Connection
3737
'port',
3838
'vhost',
3939
'user',
40+
'login',
4041
'password',
4142
'queues',
4243
'exchange',
@@ -123,7 +124,7 @@ public function __construct(array $connectionOptions, array $exchangeOptions, ar
123124
* * host: Hostname of the AMQP service
124125
* * port: Port of the AMQP service
125126
* * vhost: Virtual Host to use with the AMQP service
126-
* * user: Username to use to connect the AMQP service
127+
* * user|login: Username to use to connect the AMQP service
127128
* * password: Password to use to connect to the AMQP service
128129
* * read_timeout: Timeout in for income activity. Note: 0 or greater seconds. May be fractional.
129130
* * write_timeout: Timeout in for outcome activity. Note: 0 or greater seconds. May be fractional.

0 commit comments

Comments
 (0)