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

Breadcrumb

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

function Snapshot::__construct

Same name in this branch
  1. 11.1.x vendor/sebastian/global-state/src/Snapshot.php \SebastianBergmann\GlobalState\Snapshot::__construct()

File

vendor/phpunit/phpunit/src/Event/Value/Telemetry/Snapshot.php, line 24

Class

Snapshot
@psalm-immutable

Namespace

PHPUnit\Event\Telemetry

Code

public function __construct(HRTime $time, MemoryUsage $memoryUsage, MemoryUsage $peakMemoryUsage, GarbageCollectorStatus $garbageCollectorStatus) {
    $this->time = $time;
    $this->memoryUsage = $memoryUsage;
    $this->peakMemoryUsage = $peakMemoryUsage;
    $this->garbageCollectorStatus = $garbageCollectorStatus;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal