PHP Class PhpGitHooks\Module\Git\Service\PrePushTool

Show file Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method 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

Method Description
executeOriginalHook ( string $remote, string $url, string $errorMessage )

Method Details

__construct() public method

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 method

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