public function set($namespace, \Tx_Oelib_Configuration $configuration)
    {
        $this->checkForNonEmptyNamespace($namespace);

        if (isset($this->configurations[$namespace])) {
            $this->dropConfiguration($namespace);
        }

        $this->configurations[$namespace] = $configuration;
    }
public function set($namespace, \Tx_Oelib_Configuration $configuration)
    {
        $this->checkForNonEmptyNamespace($namespace);

        if (isset($this->configurations[$namespace])) {
            $this->dropConfiguration($namespace);
        }

        $this->configurations[$namespace] = $configuration;
    }
public function set ( $ namespace , \ Tx_Oelib_Configuration $ configuration ) { $ this -> checkForNonEmptyNamespace ( $ namespace ) ; if ( isset ( $ this -> configurations [ $ namespace ] ) ) { $ this -> dropConfiguration ( $ namespace ) ; } $ this -> configurations [ $ namespace ] = $ configuration ; }
Sets a configuration for a certain namespace.

@param string $namespace
the namespace of the configuration to set, must not be empty
@param \Tx_Oelib_Configuration $configuration
the configuration to set

@return void
Sets a configuration for a certain namespace .