PHP Class PhpGitHooks\Module\Git\Service\PreCommitTool

Afficher le fichier Open project: bruli/php-git-hooks Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Console\Output\OutputInterface $output, FilesCommittedExtractor $filesCommittedExtractor, Bruli\EventBusBundle\QueryBus\QueryBus $queryBus, Bruli\EventBusBundle\CommandBus\CommandBus $commandBus, ToolTittleOutputWriter $tittleOutputWriter ) PreCommitTool constructor.
execute ( )

Private Methods

Méthode Description
executeTools ( PreCommitResponse $preCommitResponse, array $committedFiles )
getPhpFiles ( array $committedFiles ) : array

Method Details

__construct() public méthode

PreCommitTool constructor.
public __construct ( Symfony\Component\Console\Output\OutputInterface $output, FilesCommittedExtractor $filesCommittedExtractor, Bruli\EventBusBundle\QueryBus\QueryBus $queryBus, Bruli\EventBusBundle\CommandBus\CommandBus $commandBus, ToolTittleOutputWriter $tittleOutputWriter )
$output Symfony\Component\Console\Output\OutputInterface
$filesCommittedExtractor PhpGitHooks\Module\Git\Infrastructure\Files\FilesCommittedExtractor
$queryBus Bruli\EventBusBundle\QueryBus\QueryBus
$commandBus Bruli\EventBusBundle\CommandBus\CommandBus
$tittleOutputWriter PhpGitHooks\Module\Git\Infrastructure\OutputWriter\ToolTittleOutputWriter

execute() public méthode

public execute ( )