Granada\ORM::_setup_db_config PHP Method

_setup_db_config() protected static method

Ensures configuration (mulitple connections) is at least set to default.
protected static _setup_db_config ( string $connection_name )
$connection_name string Which connection to use
    protected static function _setup_db_config($connection_name)
    {
        if (!array_key_exists($connection_name, self::$_config)) {
            self::$_config[$connection_name] = self::$_default_config;
        }
    }
ORM