PHP Class Tester\Helpers

Author: David Grudl
Show file Open project: nette/tester Class Usage Examples

Public Methods

Method Description
errorTypeToString ( $type )
escapeArg ( $s ) : string Escape a string to be used as a shell argument.
parseDocComment ( $s ) : array Parse phpDoc comment.
purge ( $dir ) : void Purges directory.

Method Details

errorTypeToString() public static method

public static errorTypeToString ( $type )

escapeArg() public static method

Escape a string to be used as a shell argument.
public static escapeArg ( $s ) : string
return string

parseDocComment() public static method

Parse phpDoc comment.
public static parseDocComment ( $s ) : array
return array

purge() public static method

Purges directory.
public static purge ( $dir ) : void
return void