Skip to content

Kirby 4.5.0

$environment->cli()

Checks if the request is being served by the CLI

$environment->cli(): bool

Return type

bool

Parent class

Kirby\Http\Environment