Свойство | Type | Description | |
---|---|---|---|
$logger |
Свойство | Type | Description | |
---|---|---|---|
$conflicts | array | This helps phpbrew to unload antagonist extensions before enabling an extension with a known conflict. |
Méthode | 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 | |
Résultat | boolean |
public enableExtension ( Extension $ext ) : boolean | ||
$ext | Extension | |
Résultat | boolean |
public installExtension ( Extension $ext, array $options = [] ) | ||
$ext | Extension | |
$options | array |
protected array $conflicts | ||
Résultat | array |