Skip to content

Kirby 5.1.2

$uri->fragment()

Returns the fragment after the hash

$uri->fragment(): string|null

Return types

stringornull

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

Parent class

Kirby\Http\Uri