warnings
[mdref/mdref-http] / http / Url / mod.md
1 # http\Url http\Url::mod(mixed $parts[, int $flags = http\Url::JOIN_PATH|http\Url::JOIN_QUERY)
2
3 Clone this URL and apply $parts to the cloned URL.
4
5 > **Note:** This method returns a clone (copy) of this instance.
6
7 ## Params:
8
9 * mixed $parts
10 New URL parts.
11 * Optional int $flags = http\Url::JOIN_PATH|http\Url::JOIN_QUERY
12 Modus operandi of URL construction. See http\Url constants.
13
14 ## Returns:
15
16 * http\Url, clone.