PHP Class TQ\Git\Cli\Binary

Inheritance: extends TQ\Vcs\Cli\Binary
Afficher le fichier Open project: teqneers/php-stream-wrapper-for-git Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string | null $path = null ) Creates a Git binary interface
locateBinary ( ) : string Try to find the Git binary on the system

Method Details

__construct() public méthode

If no path is given the class tries to find the correct binary {@see \locateBinary()}
public __construct ( string | null $path = null )
$path string | null The path to the Git binary or NULL to auto-detect

locateBinary() public static méthode

Try to find the Git binary on the system
public static locateBinary ( ) : string
Résultat string