PHP 인터페이스 Liip\RMT\VCS\VCSInterface

s
파일 보기 프로젝트 열기: liip/rmt 0 사용 예제들

공개 메소드들

메소드 설명
createTag ( string $tagName ) Create a new tag at the current position
getAllModificationsSince ( string $tag, boolean $color = true, boolean $noMergeCommits = false ) : array Return the list of all modifications from the given tag until now
getCurrentBranch ( ) Return the current branch
getLocalModifications ( ) : array Return local modification
getModifiedFilesSince ( string $tag ) : array Return the list of all modified files from the given tag until now The result is an array with the filename as key and the status as value.
getTags ( ) : array Return all tags of the project
publishChanges ( string | null $remote = null ) Publish local modification
publishTag ( string $tagName, string | null $remote = null ) Publish a new created tag
saveWorkingCopy ( string $commitMsg = '' ) : mixed Save the local modifications (commit)

메소드 상세

createTag() 공개 메소드

Create a new tag at the current position
public createTag ( string $tagName )
$tagName string

getAllModificationsSince() 공개 메소드

Return the list of all modifications from the given tag until now
public getAllModificationsSince ( string $tag, boolean $color = true, boolean $noMergeCommits = false ) : array
$tag string
$color boolean
$noMergeCommits boolean
리턴 array

getCurrentBranch() 공개 메소드

Return the current branch
public getCurrentBranch ( )

getLocalModifications() 공개 메소드

Return local modification
public getLocalModifications ( ) : array
리턴 array of local modification

getModifiedFilesSince() 공개 메소드

Status is one of the following : M (modified), A (added), R (removed)
public getModifiedFilesSince ( string $tag ) : array
$tag string
리턴 array

getTags() 공개 메소드

Return all tags of the project
public getTags ( ) : array
리턴 array

publishChanges() 공개 메소드

Publish local modification
public publishChanges ( string | null $remote = null )
$remote string | null

publishTag() 공개 메소드

Publish a new created tag
public publishTag ( string $tagName, string | null $remote = null )
$tagName string
$remote string | null

saveWorkingCopy() 공개 메소드

Save the local modifications (commit)
public saveWorkingCopy ( string $commitMsg = '' ) : mixed
$commitMsg string
리턴 mixed