SystemCibaClock
in package
implements
CibaClock
FinalYes
The real {@see CibaClock}: `microtime(true)` and `sleep()`.
Table of Contents
Interfaces
- CibaClock
- The clock {@see OidcClient::cibaAwait()} waits on — injectable so the §33.7 schedule is testable without sleeping.
Methods
Methods
now()
The current time, in seconds (fractional allowed).
public
now() : float
Return values
floatsleep()
Wait `$seconds`.
public
sleep(int $seconds) : void
Parameters
- $seconds : int