Skip to content

Kirby 3.6.6

$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