Returns a new channel on the the passed connection of the worker. If no connection is passed, it uses the default connection. If the worker is not connected, it returns null.
Signature
public function getNewChannel([array
$parameters = NULL,
[AMQPStreamConnection
$_connection = NULL]] )
Parameters
$parameters
—
array
[optional] The overrides for the default channel options of the worker.