Skip to content

Kirby 4.5.0

$params->toString()

Converts the params object to a params string which can then be used in the URL builder again

$params->toString(bool $leadingSlash = false, bool $trailingSlash = false): string

Parameters

Name Type Default
$leadingSlash bool false
$trailingSlash bool false

Return type

string

Parent class

Kirby\Http\Params