AXIAM PHP SDK

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

now()  : float
The current time, in seconds (fractional allowed).
sleep()  : void
Wait `$seconds`.

Methods

now()

The current time, in seconds (fractional allowed).

public now() : float
Return values
float

sleep()

Wait `$seconds`.

public sleep(int $seconds) : void
Parameters
$seconds : int
On this page

Search results