Property | Type | Description | |
---|---|---|---|
$scheduler | SplPriorityQueue | ||
$time | float | ||
$timers | SplObjectStorage |
Method | Description | |
---|---|---|
__construct ( ) | ||
add ( Kraken\Loop\Timer\TimerInterface $timer ) | ||
contains ( Kraken\Loop\Timer\TimerInterface $timer ) : boolean | ||
getFirst ( ) : Kraken\Loop\Timer\TimerInterface | null | ||
getTime ( ) : mixed | ||
isEmpty ( ) : boolean | ||
remove ( Kraken\Loop\Timer\TimerInterface $timer ) | ||
tick ( ) | ||
updateTime ( ) : float |
public add ( Kraken\Loop\Timer\TimerInterface $timer ) | ||
$timer | Kraken\Loop\Timer\TimerInterface |
public remove ( Kraken\Loop\Timer\TimerInterface $timer ) | ||
$timer | Kraken\Loop\Timer\TimerInterface |