fuel/fuel/core/classes/redis/db.php
public static function forge($name = 'default', $config = array())
	{
		empty(static::$instances) and \Config::load('db', true);

		if ( ! ($conf = \Config::get('db.redis.'.$name)))
		{
			throw new \RedisException('Invalid instance name given.');
		}
		$config = \Arr::merge($conf, $config);

		static::$instances[$name] = new static($config);

		return static::$instances[$name];
	}
public static function forge($name = 'default', $config = array())
	{
		empty(static::$instances) and \Config::load('db', true);

		if ( ! ($conf = \Config::get('db.redis.'.$name)))
		{
			throw new \RedisException('Invalid instance name given.');
		}
		$config = \Arr::merge($conf, $config);

		static::$instances[$name] = new static($config);

		return static::$instances[$name];
	}
public static function forge ( $ name = 'default' , $ config = array ( ) ) { empty ( static :: $ instances ) and \ Config :: load ( 'db' , true ) ; if ( ! ( $ conf = \ Config :: get ( 'db.redis.' . $ name ) ) ) { throw new \ RedisException ( 'Invalid instance name given.' ) ; } $ config = \ Arr :: merge ( $ conf , $ config ) ; static :: $ instances [ $ name ] = new static ( $ config ) ; return static :: $ instances [ $ name ] ; }
create an instance of the Redis class
create an instance of the Redis class