Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Php83GarbageCollectorStatusProvider.php

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\Telemetry

Code

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']);
}
RSS feed
Powered by Drupal