ExtensionDisableCommand
in package
CLI command to disable an extension.
Table of Contents
Methods
- __construct() : mixed
- execute() : int
- Execute the disable command.
Methods
__construct()
public
__construct() : mixed
execute()
Execute the disable command.
public
execute(string $pluginName[, bool $force = false ]) : int
Parameters
- $pluginName : string
-
Plugin name to disable
- $force : bool = false
-
Force disable even with existing records
Return values
int —Exit code (0 = success, 1 = error)