class SvnRepository

A SVN repository containing ICU data.

Methods

static SvnRepository
download(string $url, string $targetDir)

Downloads the ICU data for the given version.

__construct(string $path)

Reads the SVN repository at the given path.

string
getPath()

Returns the path to the repository.

string
getUrl()

Returns the URL of the repository.

getLastCommit()

Returns the last commit of the repository.

Details

at line line 49
static SvnRepository download(string $url, string $targetDir)

Downloads the ICU data for the given version.

Parameters

string $url The URL to download from.
string $targetDir The directory in which to store the repository.

Return Value

SvnRepository The directory where the data is stored.

Exceptions

RuntimeException If an error occurs during the download.

at line line 78
__construct(string $path)

Reads the SVN repository at the given path.

Parameters

string $path The path to the repository.

at line line 88
string getPath()

Returns the path to the repository.

Return Value

string The path to the repository.

at line line 98
string getUrl()

Returns the URL of the repository.

Return Value

string The URL of the repository.

at line line 108
SvnCommit getLastCommit()

Returns the last commit of the repository.

Return Value

SvnCommit The last commit.