-
-
Notifications
You must be signed in to change notification settings - Fork 0
GitClient
github-actions edited this page Apr 20, 2026
·
1 revision
Executes semantic Git operations using the local Git binary.
- Full name:
\FastForward\DevTools\Git\GitClient - This class is marked as final and can't be subclassed
- This class implements:
\FastForward\DevTools\Git\GitClientInterface - This class is a Final class
public __construct(\FastForward\DevTools\Process\ProcessBuilderInterface $processBuilder, \FastForward\DevTools\Process\ProcessQueueInterface $processQueue): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$processBuilder |
\FastForward\DevTools\Process\ProcessBuilderInterface | |
$processQueue |
\FastForward\DevTools\Process\ProcessQueueInterface |
Returns a Git config value for the selected repository.
public getConfig(string $key, ?string $workingDirectory = null): stringParameters:
| Parameter | Type | Description |
|---|---|---|
$key |
string | |
$workingDirectory |
?string |
Returns the file contents shown from a specific Git reference.
public show(string $reference, string $path, ?string $workingDirectory = null): stringParameters:
| Parameter | Type | Description |
|---|---|---|
$reference |
string | |
$path |
string | |
$workingDirectory |
?string |