PHP Class Tester\Helpers

Author: David Grudl
Afficher le fichier Open project: nette/tester Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static errorTypeToString ( $type )

escapeArg() public static méthode

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

parseDocComment() public static méthode

Parse phpDoc comment.
public static parseDocComment ( $s ) : array
Résultat array

purge() public static méthode

Purges directory.
public static purge ( $dir ) : void
Résultat void