Property | Type | Description | |
---|---|---|---|
$logger |
Property | Type | Description | |
---|---|---|---|
$conflicts | array | This helps phpbrew to unload antagonist extensions before enabling an extension with a known conflict. |
Method | Description | |
---|---|---|
__construct ( CLIFramework\Logger $logger ) | ||
cleanExtension ( Extension $ext ) | ||
createExtensionConfig ( Extension $ext ) | ||
disable ( $extensionName ) | ||
disableAntagonists ( Extension $ext ) | Disable extensions known to conflict with current one. | |
disableExtension ( Extension $ext ) : boolean | Disables ini file for current extension. | |
enable ( $extensionName ) | ||
enableExtension ( Extension $ext ) : boolean | Enables ini file for current extension. | |
hasConflicts ( Extension $ext ) | ||
installExtension ( Extension $ext, array $options = [] ) | Whenever you call this method, you shall have already downloaded the extension And have set the source directory on the Extension object. | |
purgeExtension ( Extension $ext ) |
public __construct ( CLIFramework\Logger $logger ) | ||
$logger | CLIFramework\Logger |
public createExtensionConfig ( Extension $ext ) | ||
$ext | Extension |
public disableAntagonists ( Extension $ext ) | ||
$ext | Extension |
public disableExtension ( Extension $ext ) : boolean | ||
$ext | Extension | |
return | boolean |
public enableExtension ( Extension $ext ) : boolean | ||
$ext | Extension | |
return | boolean |
public installExtension ( Extension $ext, array $options = [] ) | ||
$ext | Extension | |
$options | array |
protected array $conflicts | ||
return | array |