Skip to content

Kirby 5.1.1

$request->domain()

Returns the domain

$request->domain(): string

Return type

string

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

Parent class

Kirby\Http\Request