9fab9a879ead9d1cef2cffdeed03f1d2b994a8ba
[mdref/mdref-http] / 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.
17
18 ## Throws:
19
20
21 * http\Exception\InvalidArgumentException
22 * http\Exception\BadUrlException