Composer API
Class

Composer\Util\Svn

class Svn

Constants

MAX_QTY_AUTH_TRIES

Methods

__construct(string $url, IOInterface $io, Config $config, ProcessExecutor $process = null)

static  cleanEnv()

string execute(string $command, string $url, string $cwd = null, string $path = null, bool $verbose = false)

Execute an SVN command and try to fix up the process with credentials if necessary.

setCacheCredentials(bool $cacheCredentials)

Details

at line 72
public __construct(string $url, IOInterface $io, Config $config, ProcessExecutor $process = null)

Parameters

string $url
IOInterface $io
Config $config
ProcessExecutor $process

at line 80
static public cleanEnv()

at line 100
public string execute(string $command, string $url, string $cwd = null, string $path = null, bool $verbose = false)

Execute an SVN command and try to fix up the process with credentials if necessary.

Parameters

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

Return Value

string

Exceptions

RuntimeException

at line 154
public setCacheCredentials(bool $cacheCredentials)

Parameters

bool $cacheCredentials