PhpGitHooks\Infrastructure\Hook\PrePush::doRun PHP Метод

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

public doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    public function doRun(InputInterface $input, OutputInterface $output)
    {
        /**
         * @var PrePushToolCommandHandler
         */
        $command = $this->container->get('bruli.command.bus');
        $command->handle(new PrePushToolCommand($this->remote, $this->url));
    }