W3cubDocs

/Symfony 4.1

GitRepository

class GitRepository

Methods

__construct(string $path)
static GitRepository download(string $remote, string $targetDir)
getPath()
getUrl()
getLastCommitHash()
getLastAuthor()
getLastAuthoredDate()
getLastTag(callable $filter = null)
checkout($branch)

Details

__construct(string $path)

Parameters

string $path

static GitRepository download(string $remote, string $targetDir)

Parameters

string $remote
string $targetDir

Return Value

GitRepository

getPath()

getUrl()

getLastCommitHash()

getLastAuthor()

getLastAuthoredDate()

getLastTag(callable $filter = null)

Parameters

callable $filter

checkout($branch)

Parameters

$branch

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Intl/Util/GitRepository.html