Skip to content

Kirby 5.1.2

$uri->host()

Returns the ID part of the UUID string (and sets it when new one passed)

$uri->host(string|null $host = null): string|null

Parameters

Name Type Default
$host stringornull null

Return types

stringornull

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

Parent class

Kirby\Uuid\Uri