PHP Class PHPUnit_Util_Filter, qcodo

Author: Sebastian Bergmann ([email protected])
Exibir arquivo Open project: qcodo/qcodo Class Usage Examples

Public Methods

Method Description
frameExists ( array $trace, string $file, integer $line ) : boolean
getFilteredStacktrace ( Exception $e, boolean $filterTests = TRUE, boolean $asString = TRUE ) : string Filters stack frames from PHPUnit classes.

Method Details

frameExists() public static method

public static frameExists ( array $trace, string $file, integer $line ) : boolean
$trace array
$file string
$line integer
return boolean

getFilteredStacktrace() public static method

Filters stack frames from PHPUnit classes.
public static getFilteredStacktrace ( Exception $e, boolean $filterTests = TRUE, boolean $asString = TRUE ) : string
$e Exception
$filterTests boolean
$asString boolean
return string