class Sorted
@psalm-immutable
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Hierarchy
- class \PHPUnit\Event\TestSuite\Sorted implements \PHPUnit\Event\Event
Expanded class hierarchy of Sorted
1 file declares its use of Sorted
- DispatchingEmitter.php in vendor/
phpunit/ phpunit/ src/ Event/ Emitter/ DispatchingEmitter.php
File
-
vendor/
phpunit/ phpunit/ src/ Event/ Events/ TestSuite/ Sorted.php, line 20
Namespace
PHPUnit\Event\TestSuiteView source
final class Sorted implements Event {
private readonly Telemetry\Info $telemetryInfo;
private readonly int $executionOrder;
private readonly int $executionOrderDefects;
private readonly bool $resolveDependencies;
public function __construct(Telemetry\Info $telemetryInfo, int $executionOrder, int $executionOrderDefects, bool $resolveDependencies) {
$this->telemetryInfo = $telemetryInfo;
$this->executionOrder = $executionOrder;
$this->executionOrderDefects = $executionOrderDefects;
$this->resolveDependencies = $resolveDependencies;
}
public function telemetryInfo() : Telemetry\Info {
return $this->telemetryInfo;
}
public function executionOrder() : int {
return $this->executionOrder;
}
public function executionOrderDefects() : int {
return $this->executionOrderDefects;
}
public function resolveDependencies() : bool {
return $this->resolveDependencies;
}
public function asString() : string {
return 'Test Suite Sorted';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
Sorted::$executionOrder | private | property | ||
Sorted::$executionOrderDefects | private | property | ||
Sorted::$resolveDependencies | private | property | ||
Sorted::$telemetryInfo | private | property | ||
Sorted::asString | public | function | Overrides Event::asString | |
Sorted::executionOrder | public | function | ||
Sorted::executionOrderDefects | public | function | ||
Sorted::resolveDependencies | public | function | ||
Sorted::telemetryInfo | public | function | Overrides Event::telemetryInfo | |
Sorted::__construct | public | function |