class Finished
Same name in this branch
- 11.1.x vendor/phpunit/phpunit/src/Event/Events/Test/Lifecycle/Finished.php \PHPUnit\Event\Test\Finished
- 11.1.x vendor/phpunit/phpunit/src/Event/Events/TestRunner/Finished.php \PHPUnit\Event\TestRunner\Finished
- 11.1.x vendor/phpunit/phpunit/src/Event/Events/TestSuite/Finished.php \PHPUnit\Event\TestSuite\Finished
@psalm-immutable
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Hierarchy
- class \PHPUnit\Event\Application\Finished implements \PHPUnit\Event\Event
Expanded class hierarchy of Finished
4 string references to 'Finished'
- batch_process in core/
includes/ form.inc - Processes the batch.
- ReviewForm::submitForm in core/
modules/ migrate_drupal_ui/ src/ Form/ ReviewForm.php - Form submission handler.
- _batch_page in core/
includes/ batch.inc - Renders the batch processing page based on the current state of the batch.
- _batch_progress_page in core/
includes/ batch.inc - Outputs a batch processing page.
File
-
vendor/
phpunit/ phpunit/ src/ Event/ Events/ Application/ Finished.php, line 21
Namespace
PHPUnit\Event\ApplicationView source
final class Finished implements Event {
private readonly Telemetry\Info $telemetryInfo;
private readonly int $shellExitCode;
public function __construct(Telemetry\Info $telemetryInfo, int $shellExitCode) {
$this->telemetryInfo = $telemetryInfo;
$this->shellExitCode = $shellExitCode;
}
public function telemetryInfo() : Telemetry\Info {
return $this->telemetryInfo;
}
public function shellExitCode() : int {
return $this->shellExitCode;
}
public function asString() : string {
return sprintf('PHPUnit Finished (Shell Exit Code: %d)', $this->shellExitCode);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
Finished::$shellExitCode | private | property | ||
Finished::$telemetryInfo | private | property | ||
Finished::asString | public | function | Overrides Event::asString | |
Finished::shellExitCode | public | function | ||
Finished::telemetryInfo | public | function | Overrides Event::telemetryInfo | |
Finished::__construct | public | function |