Skip to content

Kirby 4.2.0

$environment->host()

Returns the current host name

$environment->host(): string|null

Return type

string|null

Parent class

Kirby\Http\Environment