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

Afficher le fichier Open project: bruli/php-git-hooks Class Usage Examples

Méthodes publiques

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

Method Details

create() public static méthode

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
Résultat PhpGitHooks\Module\Configuration\Contract\Response\ConfigurationDataResponse

createAllEnabled() public static méthode

public static createAllEnabled ( ) : ConfigurationDataResponse
Résultat PhpGitHooks\Module\Configuration\Contract\Response\ConfigurationDataResponse

createCustom() public static méthode

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