public static function setConfig($identifier, array $config)
    {
        $objIdentifier = self::getIdentifier($identifier);
        $strIdentifier = (string) $objIdentifier;

        if (isset(self::$_configs[$strIdentifier])) {
            self::$_configs[$strIdentifier] = self::$_configs[$strIdentifier]->append($config);
        } else {
            self::$_configs[$strIdentifier] = new AnConfig($config);
        }
    }
public static function setConfig($identifier, array $config)
    {
        $objIdentifier = self::getIdentifier($identifier);
        $strIdentifier = (string) $objIdentifier;

        if (isset(self::$_configs[$strIdentifier])) {
            self::$_configs[$strIdentifier] = self::$_configs[$strIdentifier]->append($config);
        } else {
            self::$_configs[$strIdentifier] = new AnConfig($config);
        }
    }
public static function setConfig ( $ identifier , array $ config ) { $ objIdentifier = self :: getIdentifier ( $ identifier ) ; $ strIdentifier = ( string ) $ objIdentifier ; if ( isset ( self :: $ _configs [ $ strIdentifier ] ) ) { self :: $ _configs [ $ strIdentifier ] = self :: $ _configs [ $ strIdentifier ] -> append ( $ config ) ; } else { self :: $ _configs [ $ strIdentifier ] = new AnConfig ( $ config ) ; } }
Set the configuration options for an identifier

@param mixed	  An object that implements AnObjectServiceable, AnServiceIdentifier object
or valid identifier string
@param array	  An associative array of configuration options
Set the configuration options for an identifier