PHP Class PhpGitHooks\Module\Configuration\Domain\CommitMsg

Inheritance: implements PhpGitHooks\Module\Configuration\Model\ToolInterface
显示文件 Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
__construct ( Undefined $undefined, Enabled $enabled, RegularExpression $regularExpression ) CommitMsg constructor.
addRegularExpression ( RegularExpression $regularExpression ) : CommitMsg
getRegularExpression ( ) : RegularExpression
isEnabled ( ) : boolean
isUndefined ( ) : boolean
setEnabled ( Enabled $enabled ) : CommitMsg

Method Details

__construct() public method

CommitMsg constructor.
public __construct ( Undefined $undefined, Enabled $enabled, RegularExpression $regularExpression )
$undefined Undefined
$enabled Enabled
$regularExpression RegularExpression

addRegularExpression() public method

public addRegularExpression ( RegularExpression $regularExpression ) : CommitMsg
$regularExpression RegularExpression
return CommitMsg

getRegularExpression() public method

public getRegularExpression ( ) : RegularExpression
return RegularExpression

isEnabled() public method

public isEnabled ( ) : boolean
return boolean

isUndefined() public method

public isUndefined ( ) : boolean
return boolean

setEnabled() public method

public setEnabled ( Enabled $enabled ) : CommitMsg
$enabled Enabled
return CommitMsg