public function queueCommand($command, string $commandId = null) { $this->implementation->getCommandBusAdapter()->handle(new QueuedCommand($command, $commandId)); }