PHP 클래스 PhpGitHooks\Module\Configuration\Tests\Stub\ConfigurationDataResponseStub

파일 보기 프로젝트 열기: bruli/php-git-hooks 1 사용 예제들

공개 메소드들

메소드 설명
create ( PreCommitResponse $preCommitResponse, CommitMsgResponse $commitMsgResponse, PrePushResponse $prePushResponse ) : ConfigurationDataResponse
createAllEnabled ( ) : ConfigurationDataResponse
createCustom ( boolean $preCommit, boolean $commitMsg, boolean $prePush ) : ConfigurationDataResponse

메소드 상세

create() 공개 정적인 메소드

public static create ( PreCommitResponse $preCommitResponse, CommitMsgResponse $commitMsgResponse, PrePushResponse $prePushResponse ) : ConfigurationDataResponse
$preCommitResponse PhpGitHooks\Module\Configuration\Contract\Response\PreCommitResponse
$commitMsgResponse PhpGitHooks\Module\Configuration\Contract\Response\CommitMsgResponse
$prePushResponse PhpGitHooks\Module\Configuration\Contract\Response\PrePushResponse
리턴 PhpGitHooks\Module\Configuration\Contract\Response\ConfigurationDataResponse

createAllEnabled() 공개 정적인 메소드

public static createAllEnabled ( ) : ConfigurationDataResponse
리턴 PhpGitHooks\Module\Configuration\Contract\Response\ConfigurationDataResponse

createCustom() 공개 정적인 메소드

public static createCustom ( boolean $preCommit, boolean $commitMsg, boolean $prePush ) : ConfigurationDataResponse
$preCommit boolean
$commitMsg boolean
$prePush boolean
리턴 PhpGitHooks\Module\Configuration\Contract\Response\ConfigurationDataResponse