When running $connection->on('open') the second argument is a callback. The first argument of this is a ClientSession - are there any other arguments passed and what are their specifications? I tried to find this out by reading the code but it's just the evenement wrapper, and doing var_dump(func_get_args()) inside it is too much information to parse.
When running
$connection->on('open')
the second argument is a callback. The first argument of this is aClientSession
- are there any other arguments passed and what are their specifications? I tried to find this out by reading the code but it's just the evenement wrapper, and doingvar_dump(func_get_args())
inside it is too much information to parse.Thanks!