Skip to content

Kirby 4.2.0

$kirby->environment()

Returns the environment object with access to the detected host, base url and dedicated options

$kirby->environment(): Kirby\Http\Environment

Return type

Kirby\Http\Environment

Parent class

Kirby\Cms\App