function Svn::execute
Execute an SVN remote command and try to fix up the process with credentials if necessary.
Parameters
non-empty-list<string> $command SVN command to run:
string $url SVN url:
?string $cwd Working directory:
?string $path Target for a checkout:
bool $verbose Output all output to the user:
Throws
\RuntimeException
File
-
vendor/
composer/ composer/ src/ Composer/ Util/ Svn.php, line 101
Class
- Svn
- @author Till Klampaeckel <till@php.net> @author Jordi Boggiano <j.boggiano@seld.be>
Namespace
Composer\UtilCode
public function execute(array $command, string $url, ?string $cwd = null, ?string $path = null, bool $verbose = false) : string {
// Ensure we are allowed to use this URL by config
$this->config
->prohibitUrlByConfig($url, $this->io);
return $this->executeWithAuthRetry($command, $cwd, $url, $path, $verbose);
}