class BootstrapFinished
@psalm-immutable
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Hierarchy
- class \PHPUnit\Event\TestRunner\BootstrapFinished implements \PHPUnit\Event\Event
Expanded class hierarchy of BootstrapFinished
File
-
vendor/
phpunit/ phpunit/ src/ Event/ Events/ TestRunner/ BootstrapFinished.php, line 21
Namespace
PHPUnit\Event\TestRunnerView source
final class BootstrapFinished implements Event {
private readonly Telemetry\Info $telemetryInfo;
private readonly string $filename;
public function __construct(Telemetry\Info $telemetryInfo, string $filename) {
$this->telemetryInfo = $telemetryInfo;
$this->filename = $filename;
}
public function telemetryInfo() : Telemetry\Info {
return $this->telemetryInfo;
}
public function filename() : string {
return $this->filename;
}
public function asString() : string {
return sprintf('Bootstrap Finished (%s)', $this->filename);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
BootstrapFinished::$filename | private | property | ||
BootstrapFinished::$telemetryInfo | private | property | ||
BootstrapFinished::asString | public | function | Overrides Event::asString | |
BootstrapFinished::filename | public | function | ||
BootstrapFinished::telemetryInfo | public | function | Overrides Event::telemetryInfo | |
BootstrapFinished::__construct | public | function |