PHP Класс PhpGitHooks\Module\Git\Service\CommitMsgTool

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( PhpGitHooks\Module\Git\Model\MergeValidatorInterface $mergeValidator, Bruli\EventBusBundle\QueryBus\QueryBus $queryBus, PhpGitHooks\Module\Git\Model\CommitMessageFinderInterface $commitMessageFinder ) CommitMsgTool constructor.
run ( Symfony\Component\Console\Input\InputInterface $input )

Приватные методы

Метод Описание
isValidCommitMessage ( string $regularExpression, string $commitMessage ) : boolean

Описание методов

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

CommitMsgTool constructor.
public __construct ( PhpGitHooks\Module\Git\Model\MergeValidatorInterface $mergeValidator, Bruli\EventBusBundle\QueryBus\QueryBus $queryBus, PhpGitHooks\Module\Git\Model\CommitMessageFinderInterface $commitMessageFinder )
$mergeValidator PhpGitHooks\Module\Git\Model\MergeValidatorInterface
$queryBus Bruli\EventBusBundle\QueryBus\QueryBus
$commitMessageFinder PhpGitHooks\Module\Git\Model\CommitMessageFinderInterface

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

public run ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface