PhpGitHooks\Module\Configuration\Domain\PreCommit::setExecute PHP Method

setExecute() public method

public setExecute ( PhpGitHooks\Module\Configuration\Model\ExecuteInterface $execute ) : PreCommit
$execute PhpGitHooks\Module\Configuration\Model\ExecuteInterface
return PreCommit
    public function setExecute(ExecuteInterface $execute)
    {
        return new self($this->undefined, $this->enabled, $execute, $this->messages);
    }