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

ファイルを表示 Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
create ( boolean $commitMsg, string $regularExpression ) : CommitMsgResponse
createEnabled ( ) : CommitMsgResponse

Method Details

create() public static method

public static create ( boolean $commitMsg, string $regularExpression ) : CommitMsgResponse
$commitMsg boolean
$regularExpression string
return PhpGitHooks\Module\Configuration\Contract\Response\CommitMsgResponse

createEnabled() public static method

public static createEnabled ( ) : CommitMsgResponse
return PhpGitHooks\Module\Configuration\Contract\Response\CommitMsgResponse