PHPUnit_Util_Filter
in package
Utility class for code filtering.
Tags
Table of Contents
- getFilteredStacktrace() : string
- Filters stack frames from PHPUnit classes.
- frameExists() : bool
Methods
getFilteredStacktrace()
Filters stack frames from PHPUnit classes.
public
static getFilteredStacktrace(Exception $e[, bool $asString = true ]) : string
Parameters
- $e : Exception
- $asString : bool = true
Return values
string —frameExists()
private
static frameExists(array<string|int, mixed> $trace, string $file, int $line) : bool
Parameters
- $trace : array<string|int, mixed>
- $file : string
- $line : int