-
psalm-immutable
-
Table of Contents
-
$hours
: int
-
$milliseconds
: int
-
$minutes
: int
-
$nanoseconds
: float
-
$seconds
: int
-
asMicroseconds()
: float
-
asMilliseconds()
: float
-
asNanoseconds()
: float
-
asSeconds()
: float
-
asString()
: string
-
fromMicroseconds()
: self
-
fromNanoseconds()
: self
-
__construct()
: mixed
$hours
private
int
$hours
$milliseconds
private
int
$milliseconds
$minutes
private
int
$minutes
$nanoseconds
private
float
$nanoseconds
$seconds
private
int
$seconds
asMicroseconds()
public
asMicroseconds() : float
Return values
float
—
asMilliseconds()
public
asMilliseconds() : float
Return values
float
—
asNanoseconds()
public
asNanoseconds() : float
Return values
float
—
asSeconds()
public
asSeconds() : float
Return values
float
—
asString()
public
asString() : string
Return values
string
—
fromMicroseconds()
public
static fromMicroseconds(float $microseconds) : self
Parameters
-
$microseconds
: float
-
Return values
self
—
fromNanoseconds()
public
static fromNanoseconds(float $nanoseconds) : self
Parameters
-
$nanoseconds
: float
-
Return values
self
—
__construct()
private
__construct(float $nanoseconds) : mixed
Parameters
-
$nanoseconds
: float
-
Return values
mixed
—