http\Url http\Url::mod(mixed $parts[, int $flags = http\Url::JOIN_PATH|http\Url::JOIN_QUERY|http\Url::SANITIZE_PATH)

Clone this URL and apply $parts to the cloned URL.

NOTE:
This method returns a clone (copy) of this instance.

Params:

Returns:

Throws:

Changelog:

  1. v2.5.0
    • Added http\Url::SANITIZE_PATH to default flags.