class CliBypass implements Bypass (View source)

deprecated 5.4.0 Will be removed without equivalent functionality to replace it

Allows a bypass when the request has been run in CLI mode

Methods

public
__construct()

No description

public
bool
checkRequestForBypass(HTTPRequest $request)

Returns true if the current process is running in CLI mode

Details

__construct()

No description

bool checkRequestForBypass(HTTPRequest $request)

Returns true if the current process is running in CLI mode

Parameters

HTTPRequest $request

Return Value

bool

True if we can bypass, False if the confirmation is required