PHP 클래스 Webcreate\Vcs\Git\Parser\CliParser

저자: Jeroen Fiege ([email protected])
상속: implements Webcreate\Vcs\Common\Parser\ParserInterface
파일 보기 프로젝트 열기: webcreate/vcs 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$client Webcreate\Vcs\Common\AbstractClient

공개 메소드들

메소드 설명
getClient ( ) : Webcreate\Vcs\Common\AbstractClient Returns client
parse ( $command, array $arguments = [], $output ) (non-PHPdoc)
parseDiffOutput ( string $output, array $arguments = [] ) : string | Webcreate\Vcs\Common\VcsFileInfo[] Parse the diff command output to FileInfo objects
parseLogOutput ( string $output, array $arguments = [] ) : string | Webcreate\Vcs\Common\Commit[] Parses the log command output to Commit objects
parseStatusOutput ( string $output, array $arguments = [] ) : string | Webcreate\Vcs\Common\FileInfo[] Parse the status command output to FileInfo objects
setClient ( Webcreate\Vcs\Common\AbstractClient $client ) (non-PHPdoc)

메소드 상세

getClient() 공개 메소드

Returns client
public getClient ( ) : Webcreate\Vcs\Common\AbstractClient
리턴 Webcreate\Vcs\Common\AbstractClient

parse() 공개 메소드

(non-PHPdoc)
public parse ( $command, array $arguments = [], $output )
$arguments array

parseDiffOutput() 공개 메소드

Parse the diff command output to FileInfo objects
public parseDiffOutput ( string $output, array $arguments = [] ) : string | Webcreate\Vcs\Common\VcsFileInfo[]
$output string
$arguments array
리턴 string | Webcreate\Vcs\Common\VcsFileInfo[]

parseLogOutput() 공개 메소드

Parses the log command output to Commit objects
public parseLogOutput ( string $output, array $arguments = [] ) : string | Webcreate\Vcs\Common\Commit[]
$output string
$arguments array
리턴 string | Webcreate\Vcs\Common\Commit[]

parseStatusOutput() 공개 메소드

Parse the status command output to FileInfo objects
public parseStatusOutput ( string $output, array $arguments = [] ) : string | Webcreate\Vcs\Common\FileInfo[]
$output string
$arguments array
리턴 string | Webcreate\Vcs\Common\FileInfo[]

setClient() 공개 메소드

(non-PHPdoc)
public setClient ( Webcreate\Vcs\Common\AbstractClient $client )
$client Webcreate\Vcs\Common\AbstractClient

프로퍼티 상세

$client 보호되어 있는 프로퍼티

protected AbstractClient,Webcreate\Vcs\Common $client
리턴 Webcreate\Vcs\Common\AbstractClient