When I want to send command by $client->sendCommand('test_command', 'message'); I have LogicException: There is no route for command "test_command". But when I add handler for command before send $client->bindCommand('test_command', function ($message) {}); it work...
I need send command to another php process, not in same processor...
When I want to send command by
$client->sendCommand('test_command', 'message');
I haveLogicException: There is no route for command "test_command"
. But when I add handler for command before send$client->bindCommand('test_command', function ($message) {});
it work...I need send command to another php process, not in same processor...
I don't understand why Driver check command in route collection before send command