class Filter (View source)

Utility class for code filtering.

Methods

static string
getFilteredStacktrace(Throwable $e, bool $asString = true)

Filters stack frames from PHPUnit classes.

Details

static string getFilteredStacktrace(Throwable $e, bool $asString = true)

Filters stack frames from PHPUnit classes.

Parameters

Throwable $e
bool $asString

Return Value

string