original_string: public function connect($url, $name, $controller=null)
  	{
  		$this->_router->connect($url, $name, $controller);
  
  		// register the controller if one is provided
  		if(!is_null($controller))
  		{
  			$this->_controllers[$name] = $controller;
  		}
  
  		return $this;
  	}
code: public function connect($url, $name, $controller=null)
  	{
  		$this->_router->connect($url, $name, $controller);
  
  		// register the controller if one is provided
  		if(!is_null($controller))
  		{
  			$this->_controllers[$name] = $controller;
  		}
  
  		return $this;
  	}
code_tokens: public function connect ( $ url , $ name , $ controller = null ) { $ this -> _router -> connect ( $ url , $ name , $ controller ) ; // register the controller if one is provided if ( ! is_null ( $ controller ) ) { $ this -> _controllers [ $ name ] = $ controller ; } return $ this ; }
docstring: Defines a url, a route name and an optional controller
  @param $url string the url to connect the route to
  @param $name string an arbitrary controller name, must be unique
  @param $controller mixed either a controller class, or the name of another route
docstring_tokens: Defines a url a route name and an optional controller