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

        $commandHandler->handle($command);
    }