Skip to content

Kirby 6.0.1

$uri->domain()

Returns the domain without scheme, path or query. Includes auth part when not empty. Includes port number when different from 80 or 443.

$uri->domain(): string|null

Return types

stringornull

Parent class

Kirby\Uuid\Uri inherited from Kirby\Http\Uri