original_string: public static function forge($uri = null, $options = true, $method = null)
  	{
  		is_bool($options) and $options = array('route' => $options);
  		is_string($options) and $options = array('driver' => $options);
  
  		if ( ! empty($options['driver']))
  		{
  			$class = \Inflector::words_to_upper('Request_'.$options['driver']);
  			return $class::forge($uri, $options, $method);
  		}
  
  		$request = new static($uri, isset($options['route']) ? $options['route'] : true, $method);
  		if (static::$active)
  		{
  			$request->parent = static::$active;
  			static::$active->children[] = $request;
  		}
  
  		// fire any request created events
  		\Event::instance()->has_events('request_created') and \Event::instance()->trigger('request_created', '', 'none');
  
  		return $request;
  	}
code: public static function forge($uri = null, $options = true, $method = null)
  	{
  		is_bool($options) and $options = array('route' => $options);
  		is_string($options) and $options = array('driver' => $options);
  
  		if ( ! empty($options['driver']))
  		{
  			$class = \Inflector::words_to_upper('Request_'.$options['driver']);
  			return $class::forge($uri, $options, $method);
  		}
  
  		$request = new static($uri, isset($options['route']) ? $options['route'] : true, $method);
  		if (static::$active)
  		{
  			$request->parent = static::$active;
  			static::$active->children[] = $request;
  		}
  
  		// fire any request created events
  		\Event::instance()->has_events('request_created') and \Event::instance()->trigger('request_created', '', 'none');
  
  		return $request;
  	}
code_tokens: public static function forge ( $ uri = null , $ options = true , $ method = null ) { is_bool ( $ options ) and $ options = array ( 'route' => $ options ) ; is_string ( $ options ) and $ options = array ( 'driver' => $ options ) ; if ( ! empty ( $ options [ 'driver' ] ) ) { $ class = \ Inflector :: words_to_upper ( 'Request_' . $ options [ 'driver' ] ) ; return $ class :: forge ( $ uri , $ options , $ method ) ; } $ request = new static ( $ uri , isset ( $ options [ 'route' ] ) ? $ options [ 'route' ] : true , $ method ) ; if ( static :: $ active ) { $ request -> parent = static :: $ active ; static :: $ active -> children [ ] = $ request ; } // fire any request created events \ Event :: instance ( ) -> has_events ( 'request_created' ) and \ Event :: instance ( ) -> trigger ( 'request_created' , '' , 'none' ) ; return $ request ; }
docstring: Generates a new request.  The request is then set to be the active
  request.  If this is the first request, then save that as the main
  request for the app.
  
  Usage:
  
  Request::forge('hello/world');
  
  @param   string   The URI of the request
  @param   mixed    Internal: whether to use the routes; external: driver type or array with settings (driver key must be set)
  @param   string   request method
  @return  Request  The new request object
docstring_tokens: Generates a new request . The request is then set to be the active request . If this is the first request then save that as the main request for the app .