Skip to content

Kirby 6.0.0

$environment->host()

Returns the current host name

$environment->host(): string|null

Return types

stringornull

Parent class

Kirby\Http\Environment