Skip to content

Kirby 5.1.2

$params->merge()

Merges the current params with the given params

$params->merge(array|string|null $params): Kirby\Http\Params

Parameters

Name Type Default
$params arrayorstringornull no default value

Return type

Kirby\Http\Params

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

Parent class

Kirby\Http\Params