SvnRepository

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.

SvnCommit getLastCommit()

Returns the last commit of the repository.

Details

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.

__construct(string $path)

Reads the SVN repository at the given path.

Parameters

string $path The path to the repository

string getPath()

Returns the path to the repository.

Return Value

string The path to the repository

string getUrl()

Returns the URL of the repository.

Return Value

string The URL of the repository

SvnCommit getLastCommit()

Returns the last commit of the repository.

Return Value

SvnCommit The last commit
doc_Symfony
2016-10-28 06:33:46
Comments
Leave a Comment

Please login to continue.