lib/API/Values/Config/ConfigAwareValueTrait.php
public function getConfig(string $configKey): APIConfig
    {
        if ($this->hasConfig($configKey)) {
            return $this->configs[$configKey];
        }

        throw ConfigException::noConfig($configKey);
    }
public function getConfig(string $configKey): APIConfig
    {
        if ($this->hasConfig($configKey)) {
            return $this->configs[$configKey];
        }

        throw ConfigException::noConfig($configKey);
    }
public function getConfig ( string $ configKey ) : APIConfig { if ( $ this -> hasConfig ( $ configKey ) ) { return $ this -> configs [ $ configKey ] ; } throw ConfigException :: noConfig ( $ configKey ) ; }
Returns the config with specified config key.

@throws \Netgen\BlockManager\Exception\API\ConfigException If the config does not exist
Returns the config with specified config key .