public function buildConfigDefinition(
        string $configKey,
        ConfigDefinitionHandlerInterface $handler
    ): ConfigDefinitionInterface {
        $parameterBuilder = $this->parameterBuilderFactory->createParameterBuilder();
        $handler->buildParameters($parameterBuilder);
        $parameterDefinitions = $parameterBuilder->buildParameterDefinitions();

        return ConfigDefinition::fromArray(
            [
                'configKey' => $configKey,
                'handler' => $handler,
                'parameterDefinitions' => $parameterDefinitions,
            ]
        );
    }