PHP Class PhpGitHooks\Module\Git\Service\PrePushTool

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

Méthodes publiques

Méthode Description
__construct ( Bruli\EventBusBundle\QueryBus\QueryBus $queryBus, PhpGitHooks\Module\Git\Model\PrePushOriginalExecutorInterface $prePushOriginalExecutor, Symfony\Component\Console\Output\OutputInterface $output, Bruli\EventBusBundle\CommandBus\CommandBus $commandBus ) PrePushTool constructor.
execute ( string $remote, string $url )

Private Methods

Méthode Description
executeOriginalHook ( string $remote, string $url, string $errorMessage )

Method Details

__construct() public méthode

PrePushTool constructor.
public __construct ( Bruli\EventBusBundle\QueryBus\QueryBus $queryBus, PhpGitHooks\Module\Git\Model\PrePushOriginalExecutorInterface $prePushOriginalExecutor, Symfony\Component\Console\Output\OutputInterface $output, Bruli\EventBusBundle\CommandBus\CommandBus $commandBus )
$queryBus Bruli\EventBusBundle\QueryBus\QueryBus
$prePushOriginalExecutor PhpGitHooks\Module\Git\Model\PrePushOriginalExecutorInterface
$output Symfony\Component\Console\Output\OutputInterface
$commandBus Bruli\EventBusBundle\CommandBus\CommandBus

execute() public méthode

public execute ( string $remote, string $url )
$remote string
$url string