PhpGitHooks\Module\Git\Infrastructure\Git\PrePushOriginalExecutor::execute PHP Метод

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

public execute ( string $remote, string $url ) : string | null
$remote string
$url string
Результат string | null
    public function execute($remote, $url)
    {
        $process = new Process(sprintf('./%s %s %s', 'pre-push-original', $remote, $url));
        $process->run();
        return $process->getOutput();
    }
PrePushOriginalExecutor