Property | Type | Description | |
---|---|---|---|
$_formatters | |||
$_metrics | array | Contains the list of profiler checks to run against each test. Values can be string function names, arrays containing function names as the first key and function parameters as subsequent keys, or closures. |
Method | Description | |
---|---|---|
analyze ( object $report, array $options = [] ) : array | Analyzes the results of a test run and returns the result of the analysis. | |
apply ( object $report, array $tests, array $options = [] ) : object | Takes an instance of an object (usually a Collection object) containing test instances. Allows for preparing tests before they are run. | |
check ( mixed $name, string $value = null ) : mixed | Add, remove, or modify a profiler check. | |
collect ( array $filterResults ) : array | Collects the raw filter results and packages them for analysis. | |
reset ( ) | Verifies that the corresponding function exists for each built-in profiler check. |
public static apply ( object $report, array $tests, array $options = [] ) : object | ||
$report | object | Instance of Report which is calling apply. |
$tests | array | The test to apply this filter on |
$options | array | Options for how this filter should be applied. Available options are: - `'method'` - `'run'` - `'checks'` |
return | object | Returns the instance of `$tests`. |
protected static array $_metrics | ||
return | array |