public function registerConfig(ConfigInterface $config, $id)
    {
        $this->configurationDefinitions[spl_object_hash($config)] = $config;
        $this->configurationIds[spl_object_hash($config)] = $id;
        $this->configTree->set($config->getPath(), $config);
        $config->setConfigManager($this);
    }
public function registerConfig(ConfigInterface $config, $id)
    {
        $this->configurationDefinitions[spl_object_hash($config)] = $config;
        $this->configurationIds[spl_object_hash($config)] = $id;
        $this->configTree->set($config->getPath(), $config);
        $config->setConfigManager($this);
    }
public function registerConfig ( ConfigInterface $ config , $ id ) { $ this -> configurationDefinitions [ spl_object_hash ( $ config ) ] = $ config ; $ this -> configurationIds [ spl_object_hash ( $ config ) ] = $ id ; $ this -> configTree -> set ( $ config -> getPath ( ) , $ config ) ; $ config -> setConfigManager ( $ this ) ; }
Register a config to be handled by the config manager.

@param ConfigInterface $config
@param $id
Register a config to be handled by the config manager .