original_string: public static function forge($setup = null, array $config = array())
  	{
  		empty($setup) and $setup = \Config::get('email.default_setup', 'default');
  		is_string($setup) and $setup = \Config::get('email.setups.'.$setup, array());
  
  		$setup = \Arr::merge(static::$_defaults, $setup);
  		$config = \Arr::merge($setup, $config);
  
  		$driver = '\\Email_Driver_'.ucfirst(strtolower($config['driver']));
  
  		if( ! class_exists($driver, true))
  		{
  			throw new \FuelException('Could not find Email driver: '.$config['driver']. ' ('.$driver.')');
  		}
  
  		$driver = new $driver($config);
  
  		return $driver;
  	}
code: public static function forge($setup = null, array $config = array())
  	{
  		empty($setup) and $setup = \Config::get('email.default_setup', 'default');
  		is_string($setup) and $setup = \Config::get('email.setups.'.$setup, array());
  
  		$setup = \Arr::merge(static::$_defaults, $setup);
  		$config = \Arr::merge($setup, $config);
  
  		$driver = '\\Email_Driver_'.ucfirst(strtolower($config['driver']));
  
  		if( ! class_exists($driver, true))
  		{
  			throw new \FuelException('Could not find Email driver: '.$config['driver']. ' ('.$driver.')');
  		}
  
  		$driver = new $driver($config);
  
  		return $driver;
  	}
code_tokens: public static function forge ( $ setup = null , array $ config = array ( ) ) { empty ( $ setup ) and $ setup = \ Config :: get ( 'email.default_setup' , 'default' ) ; is_string ( $ setup ) and $ setup = \ Config :: get ( 'email.setups.' . $ setup , array ( ) ) ; $ setup = \ Arr :: merge ( static :: $ _defaults , $ setup ) ; $ config = \ Arr :: merge ( $ setup , $ config ) ; $ driver = '\\Email_Driver_' . ucfirst ( strtolower ( $ config [ 'driver' ] ) ) ; if ( ! class_exists ( $ driver , true ) ) { throw new \ FuelException ( 'Could not find Email driver: ' . $ config [ 'driver' ] . ' (' . $ driver . ')' ) ; } $ driver = new $ driver ( $ config ) ; return $ driver ; }
docstring: Email driver forge.
  
  @param    string|array $setup setup key for array defined in email.setups config or config array
  @param    array        $config extra config array
  
  @throws \FuelException Could not find Email driver
  
  @return  Email_Driver    one of the email drivers
docstring_tokens: Email driver forge .