public function resolve(CommandInterface $command)
    {
        $handlerClass = $this->getHandlerClass($command);

        try {
            $handler = $this->container->get($handlerClass);
            return $handler;
        }
        catch(\Exception $e) {
            return null;
        }
    }