public static function setConfiguration($c)
    {
        if (is_array($c)) {
            if (isset($c['propel']) && is_array($c['propel'])) {
                $c = $c['propel'];
            }
            $c = new PropelConfiguration($c);
        }
        self::$configuration = $c;
    }
public static function setConfiguration($c)
    {
        if (is_array($c)) {
            if (isset($c['propel']) && is_array($c['propel'])) {
                $c = $c['propel'];
            }
            $c = new PropelConfiguration($c);
        }
        self::$configuration = $c;
    }
public static function setConfiguration ( $ c ) { if ( is_array ( $ c ) ) { if ( isset ( $ c [ 'propel' ] ) && is_array ( $ c [ 'propel' ] ) ) { $ c = $ c [ 'propel' ] ; } $ c = new PropelConfiguration ( $ c ) ; } self :: $ configuration = $ c ; }
Sets the configuration for Propel and all dependencies.

@param      mixed The Configuration (array or PropelConfiguration)
Sets the configuration for Propel and all dependencies .