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

Breadcrumb

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

function MemoryUsage::diff

File

vendor/phpunit/phpunit/src/Event/Value/Telemetry/MemoryUsage.php, line 36

Class

MemoryUsage
@psalm-immutable

Namespace

PHPUnit\Event\Telemetry

Code

public function diff(self $other) : self {
    return self::fromBytes($this->bytes - $other->bytes);
}
RSS feed
Powered by Drupal