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

Breadcrumb

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

class System

Same name in this branch
  1. 11.1.x vendor/pear/pear-core-minimal/src/System.php \System

@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

@internal This class is not covered by the backward compatibility promise for PHPUnit

Hierarchy

  • class \PHPUnit\Event\Telemetry\System

Expanded class hierarchy of System

84 string references to 'System'
Action::fields in core/modules/system/src/Plugin/migrate/source/Action.php
Returns available fields on the source.
Action::prepareRow in core/modules/system/src/Plugin/migrate/source/Action.php
Adds additional data to the row.
action_settings.yml in core/modules/system/migrations/action_settings.yml
core/modules/system/migrations/action_settings.yml
authorize.php in core/authorize.php
Administrative script for running authorized file operations.
block.block.claro_breadcrumbs.yml in core/themes/claro/config/optional/block.block.claro_breadcrumbs.yml
core/themes/claro/config/optional/block.block.claro_breadcrumbs.yml

... See full list

File

vendor/phpunit/phpunit/src/Event/Value/Telemetry/System.php, line 17

Namespace

PHPUnit\Event\Telemetry
View source
final class System {
    private readonly StopWatch $stopWatch;
    private readonly MemoryMeter $memoryMeter;
    private readonly GarbageCollectorStatusProvider $garbageCollectorStatusProvider;
    public function __construct(StopWatch $stopWatch, MemoryMeter $memoryMeter, GarbageCollectorStatusProvider $garbageCollectorStatusProvider) {
        $this->stopWatch = $stopWatch;
        $this->memoryMeter = $memoryMeter;
        $this->garbageCollectorStatusProvider = $garbageCollectorStatusProvider;
    }
    public function snapshot() : Snapshot {
        return new Snapshot($this->stopWatch
            ->current(), $this->memoryMeter
            ->memoryUsage(), $this->memoryMeter
            ->peakMemoryUsage(), $this->garbageCollectorStatusProvider
            ->status());
    }

}

Members

Title Sort descending Modifiers Object type Summary
System::$garbageCollectorStatusProvider private property
System::$memoryMeter private property
System::$stopWatch private property
System::snapshot public function
System::__construct public function

API Navigation

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