PhpGitHooks\Module\Configuration\Domain\CommitMsg::addRegularExpression PHP Метод

addRegularExpression() публичный Метод

public addRegularExpression ( RegularExpression $regularExpression ) : CommitMsg
$regularExpression RegularExpression
Результат CommitMsg
    public function addRegularExpression(RegularExpression $regularExpression)
    {
        return new self($this->undefined, $this->enabled, $regularExpression);
    }