handleQueuedCommand() public method

public handleQueuedCommand ( QueuedCommand $command )
$command MGDigital\BusQue\QueuedCommand
Example #1
0
 protected function queueCommand($command, string $id = null)
 {
     $handler = new QueuedCommandHandler($this->implementation);
     $handler->handleQueuedCommand(new QueuedCommand($command, $id ?? 'test_command_id'));
 }