lib/Config/ConfigDefinitionAwareTrait.php
public function getConfigDefinition(string $configKey): ConfigDefinitionInterface
    {
        if (!$this->hasConfigDefinition($configKey)) {
            throw ConfigDefinitionException::noConfigDefinition($configKey);
        }

        return $this->configDefinitions[$configKey];
    }
public function getConfigDefinition(string $configKey): ConfigDefinitionInterface
    {
        if (!$this->hasConfigDefinition($configKey)) {
            throw ConfigDefinitionException::noConfigDefinition($configKey);
        }

        return $this->configDefinitions[$configKey];
    }
public function getConfigDefinition ( string $ configKey ) : ConfigDefinitionInterface { if ( ! $ this -> hasConfigDefinition ( $ configKey ) ) { throw ConfigDefinitionException :: noConfigDefinition ( $ configKey ) ; } return $ this -> configDefinitions [ $ configKey ] ; }
Returns the config definition with provided config key.

@throws \Netgen\BlockManager\Exception\Config\ConfigDefinitionException if config definition does not exist
Returns the config definition with provided config key .