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

Inheritance: implements PhpGitHooks\Module\Tests\Infrastructure\Stub\RandomStubInterface
Exibir arquivo Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
create ( PreCommit $preCommit, CommitMsg $commitMsg, PrePush $prePush ) : Config
createEnabled ( ) : Config
createUndefined ( ) : Config
random ( ) : Config

Method Details

create() public static method

public static create ( PreCommit $preCommit, CommitMsg $commitMsg, PrePush $prePush ) : Config
$preCommit PhpGitHooks\Module\Configuration\Domain\PreCommit
$commitMsg PhpGitHooks\Module\Configuration\Domain\CommitMsg
$prePush PhpGitHooks\Module\Configuration\Domain\PrePush
return PhpGitHooks\Module\Configuration\Domain\Config

createEnabled() public static method

public static createEnabled ( ) : Config
return PhpGitHooks\Module\Configuration\Domain\Config

createUndefined() public static method

public static createUndefined ( ) : Config
return PhpGitHooks\Module\Configuration\Domain\Config

random() public static method

public static random ( ) : Config
return PhpGitHooks\Module\Configuration\Domain\Config