PHP Class PhpGitHooks\Module\Configuration\Tests\Stub\ConfigurationDataResponseStub

Show file Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
create ( PreCommitResponse $preCommitResponse, CommitMsgResponse $commitMsgResponse, PrePushResponse $prePushResponse ) : ConfigurationDataResponse
createAllEnabled ( ) : ConfigurationDataResponse
createCustom ( boolean $preCommit, boolean $commitMsg, boolean $prePush ) : ConfigurationDataResponse

Method Details

create() public static method

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
return PhpGitHooks\Module\Configuration\Contract\Response\ConfigurationDataResponse

createAllEnabled() public static method

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

createCustom() public static method

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