$kirby->environment() Returns the environment object with access to the detected host, base url and dedicated options kirby/src/Cms/App.php#L628 $kirby->environment(): Kirby\Http\Environment Return type Kirby\Http\Environment Parent class Kirby\Cms\App