public function unregisterDecorator($configKey)
    {
        if (!isset($this->decorators[$configKey])) {
            throw new \RuntimeException('Decorator key not registered: ' . $configKey);
        }
        unset($this->decorators[$configKey]);
    }
public function unregisterDecorator($configKey)
    {
        if (!isset($this->decorators[$configKey])) {
            throw new \RuntimeException('Decorator key not registered: ' . $configKey);
        }
        unset($this->decorators[$configKey]);
    }
public function unregisterDecorator ( $ configKey ) { if ( ! isset ( $ this -> decorators [ $ configKey ] ) ) { throw new \ RuntimeException ( 'Decorator key not registered: ' . $ configKey ) ; } unset ( $ this -> decorators [ $ configKey ] ) ; }
Un-register a decorator class

@param string $configKey
Un - register a decorator class