Skip to content

Kirby 5.1.2

$query->merge()

Merges the current query with the given query

$query->merge(array|string|null $query): Kirby\Http\Query

Parameters

Name Type Default
$query arrayorstringornull no default value

Return type

Kirby\Http\Query

This method modifies the existing $query object it is applied to and returns it again.

Parent class

Kirby\Http\Query