PHP Class TQ\Svn\Cli\Binary

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

Public Methods

Method Description
__construct ( string | null $path = null ) Creates a SVN binary interface
locateBinary ( ) : string Try to find the SVN binary on the system

Method Details

__construct() public method

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 SVN binary or NULL to auto-detect

locateBinary() public static method

Try to find the SVN binary on the system
public static locateBinary ( ) : string
return string