public function getUrl($params) {
		$path = $this->path;

		foreach ($params as $k => $v) {
			$path = str_replace(":$k", $v, $path);
		}

		return $path;
	}
public function getUrl($params) {
		$path = $this->path;

		foreach ($params as $k => $v) {
			$path = str_replace(":$k", $v, $path);
		}

		return $path;
	}
public function getUrl ( $ params ) { $ path = $ this -> path ; foreach ( $ params as $ k => $ v ) { $ path = str_replace ( ":$k" , $ v , $ path ) ; } return $ path ; }
Generate the URL with the parameters

@param array $params Route parameters

@return string
Generate the URL with the parameters