PHP 클래스 PhpGitHooks\Module\Configuration\Domain\PreCommit

상속: implements PhpGitHooks\Module\Configuration\Model\HookInterface
파일 보기 프로젝트 열기: bruli/php-git-hooks 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Undefined $undefined, Enabled $enabled, PhpGitHooks\Module\Configuration\Model\ExecuteInterface $execute, Messages $messages ) PreCommit constructor.
getExecute ( ) : PhpGitHooks\Module\Configuration\Model\ToolInterface | Execute
getMessages ( ) : Messages
isEnabled ( ) : boolean
isUndefined ( ) : boolean
setEnabled ( Enabled $enabled ) : PreCommit
setExecute ( PhpGitHooks\Module\Configuration\Model\ExecuteInterface $execute ) : PreCommit
setMessages ( Messages $messages ) : PreCommit

메소드 상세

__construct() 공개 메소드

PreCommit constructor.
public __construct ( Undefined $undefined, Enabled $enabled, PhpGitHooks\Module\Configuration\Model\ExecuteInterface $execute, Messages $messages )
$undefined Undefined
$enabled Enabled
$execute PhpGitHooks\Module\Configuration\Model\ExecuteInterface
$messages Messages

getExecute() 공개 메소드

public getExecute ( ) : PhpGitHooks\Module\Configuration\Model\ToolInterface | Execute
리턴 PhpGitHooks\Module\Configuration\Model\ToolInterface | Execute

getMessages() 공개 메소드

public getMessages ( ) : Messages
리턴 Messages

isEnabled() 공개 메소드

public isEnabled ( ) : boolean
리턴 boolean

isUndefined() 공개 메소드

public isUndefined ( ) : boolean
리턴 boolean

setEnabled() 공개 메소드

public setEnabled ( Enabled $enabled ) : PreCommit
$enabled Enabled
리턴 PreCommit

setExecute() 공개 메소드

public setExecute ( PhpGitHooks\Module\Configuration\Model\ExecuteInterface $execute ) : PreCommit
$execute PhpGitHooks\Module\Configuration\Model\ExecuteInterface
리턴 PreCommit

setMessages() 공개 메소드

public setMessages ( Messages $messages ) : PreCommit
$messages Messages
리턴 PreCommit