PHP 클래스 PhpBrew\Extension\ExtensionManager

파일 보기 프로젝트 열기: phpbrew/phpbrew 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$logger

보호된 프로퍼티들

프로퍼티 타입 설명
$conflicts array This helps phpbrew to unload antagonist extensions before enabling an extension with a known conflict.

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

public __construct ( CLIFramework\Logger $logger )
$logger CLIFramework\Logger

cleanExtension() 공개 메소드

public cleanExtension ( Extension $ext )
$ext Extension

createExtensionConfig() 공개 메소드

public createExtensionConfig ( Extension $ext )
$ext Extension

disable() 공개 메소드

public disable ( $extensionName )

disableAntagonists() 공개 메소드

Disable extensions known to conflict with current one.
public disableAntagonists ( Extension $ext )
$ext Extension

disableExtension() 공개 메소드

Disables ini file for current extension.
public disableExtension ( Extension $ext ) : boolean
$ext Extension
리턴 boolean

enable() 공개 메소드

public enable ( $extensionName )

enableExtension() 공개 메소드

Enables ini file for current extension.
public enableExtension ( Extension $ext ) : boolean
$ext Extension
리턴 boolean

hasConflicts() 공개 메소드

public hasConflicts ( Extension $ext )
$ext Extension

installExtension() 공개 메소드

Whenever you call this method, you shall have already downloaded the extension And have set the source directory on the Extension object.
public installExtension ( Extension $ext, array $options = [] )
$ext Extension
$options array

purgeExtension() 공개 메소드

public purgeExtension ( Extension $ext )
$ext Extension

프로퍼티 상세

$conflicts 보호되어 있는 프로퍼티

This helps phpbrew to unload antagonist extensions before enabling an extension with a known conflict.
protected array $conflicts
리턴 array

$logger 공개적으로 프로퍼티

public $logger