The context argument should be parameter 12, not 11, for the AMQPStreamConnection, which results in an exception ErrorException: stream_socket_client() expects parameter 6 to be resource, boolean given.
Looks like it should just be getting the arguments in the correct order.
The context argument should be parameter 12, not 11, for the AMQPStreamConnection, which results in an exception
ErrorException: stream_socket_client() expects parameter 6 to be resource, boolean given
.Looks like it should just be getting the arguments in the correct order.