Timings
Table of Contents
Methods
-
__construct()
: mixed
-
getLaps()
: array<string|int, mixed>
-
getStopwatch()
: Stopwatch
-
isRunning()
: bool
-
lap()
: void
-
start()
: void
-
stop()
: void
__construct()
public
__construct([Stopwatch|null $sw = null ]) : mixed
Parameters
-
$sw
: Stopwatch|null
= null
-
getLaps()
public
getLaps() : array<string|int, mixed>
Return values
array<string|int, mixed>
getStopwatch()
public
getStopwatch() : Stopwatch
isRunning()
public
isRunning() : bool
lap()
public
lap(string $name[, string $comment = '' ]) : void
Parameters
-
$name
: string
-
-
$comment
: string
= ''
-
start()
public
start() : void
stop()
public
stop() : void