Documentation

PHPUnit_Util_Filter
in package

Utility class for code filtering.

Tags
since

Class available since Release 2.0.0

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
Tags
since

Method available since Release 3.3.2

Return values
bool

Search results