lib/Config/ConfigDefinitionFactory.php
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,
            ]
        );
    }
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,
            ]
        );
    }
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 , ] ) ; }
Builds the config definition.
Builds the config definition .