src/mako/http/routing/URLBuilder.php
public function toLanguage(string $route, $language, array $queryParams = [], string $separator = '&'): string
	{
		return $this->to($route, $queryParams, $separator, $language);
	}
public function toLanguage(string $route, $language, array $queryParams = [], string $separator = '&'): string
	{
		return $this->to($route, $queryParams, $separator, $language);
	}
public function toLanguage ( string $ route , $ language , array $ queryParams = [ ] , string $ separator = '&' ) : string { return $ this -> to ( $ route , $ queryParams , $ separator , $ language ) ; }
Returns the URL of the specified route.

@param  string $route       URL segments
@param  mixed  $language    Request language
@param  array  $queryParams Associative array used to build URL-encoded query string
@param  string $separator   Argument separator
@return string
Returns the URL of the specified route .