class GitSimpleWrapper

Methods

__construct(null $workingDirectory = null, null $gitBinary = null)

GitSimpleWrapper constructor.

mixed
git($command)

No description

GitWrapper
setGitBinary(string $gitBinary)

Sets the path to the Git binary.

string
getGitBinary()

Returns the path to the Git binary.

GitWrapper
setWorkingDirectory($workingDirectory)

Sets the path to the Git binary.

string
getWorkingDirectory()

Returns the path to the Git binary.

Details

at line line 24
__construct(null $workingDirectory = null, null $gitBinary = null)

GitSimpleWrapper constructor.

Parameters

null $workingDirectory
null $gitBinary

at line line 47
mixed git($command)

Parameters

$command

Return Value

mixed

at line line 73
GitWrapper setGitBinary(string $gitBinary)

Sets the path to the Git binary.

Parameters

string $gitBinary Path to the Git binary.

Return Value

GitWrapper

at line line 85
string getGitBinary()

Returns the path to the Git binary.

Return Value

string

at line line 99
GitWrapper setWorkingDirectory($workingDirectory)

Sets the path to the Git binary.

Parameters

$workingDirectory

Return Value

GitWrapper

at line line 111
string getWorkingDirectory()

Returns the path to the Git binary.

Return Value

string