function Php83GarbageCollectorStatusProvider::status
Overrides GarbageCollectorStatusProvider::status
File
-
vendor/
phpunit/ phpunit/ src/ Event/ Value/ Telemetry/ Php83GarbageCollectorStatusProvider.php, line 21
Class
- Php83GarbageCollectorStatusProvider
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Event\TelemetryCode
public function status() : GarbageCollectorStatus {
$status = gc_status();
return new GarbageCollectorStatus($status['runs'], $status['collected'], $status['threshold'], $status['roots'], $status['application_time'], $status['collector_time'], $status['destructor_time'], $status['free_time'], $status['running'], $status['protected'], $status['full'], $status['buffer_size']);
}