Documentation

ResourceUsageFormatter
in package

FinalYes

Table of Contents

Constants

SIZES  = ['GB' => 1073741824, 'MB' => 1048576, 'KB' => 1024]

Methods

resourceUsage()  : string
resourceUsageSinceStartOfRequest()  : string
bytesToString()  : string

Constants

SIZES

private mixed SIZES = ['GB' => 1073741824, 'MB' => 1048576, 'KB' => 1024]
Tags
psalm-var

array<string,int>

Methods

bytesToString()

private bytesToString(int $bytes) : string
Parameters
$bytes : int
Return values
string

        
On this page

Search results