PHP 클래스 PhpGitHooks\Module\Git\Service\PreCommitTool

파일 보기 프로젝트 열기: bruli/php-git-hooks 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Console\Output\OutputInterface $output, FilesCommittedExtractor $filesCommittedExtractor, Bruli\EventBusBundle\QueryBus\QueryBus $queryBus, Bruli\EventBusBundle\CommandBus\CommandBus $commandBus, ToolTittleOutputWriter $tittleOutputWriter ) PreCommitTool constructor.
execute ( )

비공개 메소드들

메소드 설명
executeTools ( PreCommitResponse $preCommitResponse, array $committedFiles )
getPhpFiles ( array $committedFiles ) : array

메소드 상세

__construct() 공개 메소드

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 execute ( )