original_string: public function url($name, $params = array())
  	{
  		if ( ! array_key_exists($name, $this->routes))
  		{
  			throw new \UnexpectedValueException("A route with the name {$name} was not found");
  		}
  
  		$route = $this->routes[$name];
  		return $route->url($params);
  	}
code: public function url($name, $params = array())
  	{
  		if ( ! array_key_exists($name, $this->routes))
  		{
  			throw new \UnexpectedValueException("A route with the name {$name} was not found");
  		}
  
  		$route = $this->routes[$name];
  		return $route->url($params);
  	}
code_tokens: public function url ( $ name , $ params = array ( ) ) { if ( ! array_key_exists ( $ name , $ this -> routes ) ) { throw new \ UnexpectedValueException ( "A route with the name {$name} was not found" ) ; } $ route = $ this -> routes [ $ name ] ; return $ route -> url ( $ params ) ; }
docstring: Reverse routing helper.
  
  @throws \UnexpectedValueException
  
  @param  string $name   The route name
  @param  array  $params Route parameters
  @return string         The route url
docstring_tokens: Reverse routing helper .