Skip to content

Kirby 4.1.2

$request->cli()

Checks if the request has been made from the command line

$request->cli(): bool

Return type

bool

Parent class

Kirby\Http\Request