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 | 
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 | 
    © 2004–2017 Fabien Potencier
Licensed under the MIT License.
    http://api.symfony.com/3.2/Symfony/Component/Intl/Util/SvnRepository.html