PhpGitHooks\Module\Configuration\Domain\CommitMsg::addRegularExpression PHP Method

addRegularExpression() public method

public addRegularExpression ( RegularExpression $regularExpression ) : CommitMsg
$regularExpression RegularExpression
return CommitMsg
    public function addRegularExpression(RegularExpression $regularExpression)
    {
        return new self($this->undefined, $this->enabled, $regularExpression);
    }