Documentation

Info
in package

FinalYes
Tags
psalm-immutable
no-named-arguments

Parameter names are not covered by the backward compatibility promise for PHPUnit

Table of Contents

Properties

$current  : Snapshot
$durationSincePrevious  : Duration
$durationSinceStart  : Duration
$memorySincePrevious  : MemoryUsage
$memorySinceStart  : MemoryUsage

Methods

__construct()  : mixed
asString()  : string
durationSincePrevious()  : Duration
durationSinceStart()  : Duration
garbageCollectorStatus()  : GarbageCollectorStatus
memoryUsage()  : MemoryUsage
memoryUsageSincePrevious()  : MemoryUsage
memoryUsageSinceStart()  : MemoryUsage
peakMemoryUsage()  : MemoryUsage
time()  : HRTime

Properties

$durationSincePrevious read-only

private Duration $durationSincePrevious

$durationSinceStart read-only

private Duration $durationSinceStart

Methods

asString()

public asString() : string
Return values
string

        
On this page

Search results