src/Tomahawk/CommandBus/CommandBus.php
public function handle(CommandInterface $command)
    {
        if (!$commandHandler = $this->handlerResolver->resolve($command)) {
            throw new HandlerNotFoundException();
        }

        $commandHandler->handle($command);
    }
public function handle(CommandInterface $command)
    {
        if (!$commandHandler = $this->handlerResolver->resolve($command)) {
            throw new HandlerNotFoundException();
        }

        $commandHandler->handle($command);
    }
Handle the command

@param CommandInterface $command
@throws HandlerNotFoundException