Documentation

GitClientFactory
in package

Assemble a git client from necessary parts

Tags
author

Ralf Lang ralf.lang@ralf-lang.de

copyright

2010-2022 Horde LLC

Table of Contents

$config  : GitClientConfig
$gitBinary  : string
$logger  : LoggerInterface
$repoPath  : string
__construct()  : mixed
Constructor.
createClient()  : GitClient
createClientConfig()  : GitClientConfig

Properties

Methods

__construct()

Constructor.

public __construct([GitClientConfig $config = new GitClientConfig() ][, LoggerInterface $logger = new NullLogger() ][, string $gitBinary = '' ][, string $repoPath = '' ]) : mixed
Parameters
$config : GitClientConfig = new GitClientConfig()
$logger : LoggerInterface = new NullLogger()
$gitBinary : string = ''
$repoPath : string = ''
Return values
mixed

Search results