Add one or more query parameters to the given URL.
public static addURLParameters ( string $url, array $parameters ) : string | ||
$url | string | The URL the query parameters should be added to. |
$parameters | array | The query parameters which should be added to the url. This should be an associative array. |
Результат | string | The URL with the new query parameters. |