Esempio n. 1
0
 /**
  * Remove the specified data source configuration instance.
  *
  * @param DataSourceConfig $config DataSourceConfig
  * instance to be removed
  * @throws \Phruts\Exception\IllegalStateException - If this module configuration has
  * been frozen
  */
 public function removeDataSourceConfig(\Phruts\Config\DataSourceConfig $config)
 {
     if ($this->configured) {
         throw new \Phruts\Exception\IllegalStateException('Configuration is frozen');
     }
     unset($this->dataSources[$config->getKey()]);
 }