PHP Class PhpGitHooks\Module\Configuration\Domain\CommitMsg

Inheritance: implements PhpGitHooks\Module\Configuration\Model\ToolInterface
Afficher le fichier Open project: bruli/php-git-hooks Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

addRegularExpression() public méthode

public addRegularExpression ( RegularExpression $regularExpression ) : CommitMsg
$regularExpression RegularExpression
Résultat CommitMsg

getRegularExpression() public méthode

public getRegularExpression ( ) : RegularExpression
Résultat RegularExpression

isEnabled() public méthode

public isEnabled ( ) : boolean
Résultat boolean

isUndefined() public méthode

public isUndefined ( ) : boolean
Résultat boolean

setEnabled() public méthode

public setEnabled ( Enabled $enabled ) : CommitMsg
$enabled Enabled
Résultat CommitMsg