PHP Class TQ\Tests\Helper

Mostrar archivo Open project: teqneers/php-stream-wrapper-for-git Class Usage Examples

Public Methods

Method Description
createDirectory ( string $path ) : boolean
executeGit ( string $path, string $command ) : string
executeSvn ( string $path, string $command ) : string
initEmptyGitRepository ( string $path ) : string
initEmptySvnRepository ( string $path ) : string
normalizeDirectorySeparator ( string $path ) : string
normalizeEscapeShellArg ( string $command ) : string
normalizeNewLines ( string $string ) : string
removeDirectory ( string $path )

Method Details

createDirectory() public static method

public static createDirectory ( string $path ) : boolean
$path string
return boolean

executeGit() public static method

public static executeGit ( string $path, string $command ) : string
$path string
$command string
return string

executeSvn() public static method

public static executeSvn ( string $path, string $command ) : string
$path string
$command string
return string

initEmptyGitRepository() public static method

public static initEmptyGitRepository ( string $path ) : string
$path string
return string

initEmptySvnRepository() public static method

public static initEmptySvnRepository ( string $path ) : string
$path string
return string

normalizeDirectorySeparator() public static method

public static normalizeDirectorySeparator ( string $path ) : string
$path string
return string

normalizeEscapeShellArg() public static method

public static normalizeEscapeShellArg ( string $command ) : string
$command string
return string

normalizeNewLines() public static method

public static normalizeNewLines ( string $string ) : string
$string string
return string

removeDirectory() public static method

public static removeDirectory ( string $path )
$path string