Flow PHP

HighResolutionTime implements Stringable

Read onlyYes
FinalYes

Interfaces

Stringable

Properties

$nanoseconds  : int
$seconds  : int

Methods

__construct()  : mixed
__toString()  : string
diff()  : self
now()  : self
toArray()  : array<string|int, int>
toSeconds()  : float
toString()  : string

Properties

Methods

__construct()

public __construct(int $seconds, int $nanoseconds) : mixed
Parameters
$seconds : int
$nanoseconds : int

diff()

public diff(self $other) : self
Parameters
$other : self
Return values
self

toArray()

public toArray() : array<string|int, int>
Return values
array<string|int, int>

toString()

public toString([int $precision = 9 ]) : string
Parameters
$precision : int = 9
Return values
string

        
On this page

Search results