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

Breadcrumb

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

function Info::asString

File

vendor/phpunit/phpunit/src/Event/Value/Telemetry/Info.php, line 76

Class

Info
@psalm-immutable

Namespace

PHPUnit\Event\Telemetry

Code

public function asString() : string {
    return sprintf('[%s / %s] [%d bytes]', $this->durationSinceStart()
        ->asString(), $this->durationSincePrevious()
        ->asString(), $this->memoryUsage()
        ->bytes());
}

API Navigation

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