PHP Class Kraken\Loop\Bridge\React\ReactTimer

Inheritance: implements Kraken\Loop\Bridge\React\ReactTimerInterface
Show file Open project: kraken-php/framework Class Usage Examples

Protected Properties

Property Type Description
$timer Kraken\Loop\Timer\TimerInterface

Public Methods

Method Description
__construct ( Kraken\Loop\Timer\TimerInterface $timer )
__destruct ( )
cancel ( )
getActualTimer ( )
getCallback ( )
getData ( )
getInterval ( )
getLoop ( )
isActive ( )
isPeriodic ( )
setData ( $data )

Method Details

__construct() public method

public __construct ( Kraken\Loop\Timer\TimerInterface $timer )
$timer Kraken\Loop\Timer\TimerInterface

__destruct() public method

public __destruct ( )

cancel() public method

public cancel ( )

getActualTimer() public method

public getActualTimer ( )

getCallback() public method

public getCallback ( )

getData() public method

public getData ( )

getInterval() public method

public getInterval ( )

getLoop() public method

public getLoop ( )

isActive() public method

public isActive ( )

isPeriodic() public method

public isPeriodic ( )

setData() public method

public setData ( $data )

Property Details

$timer protected property

protected TimerInterface,Kraken\Loop\Timer $timer
return Kraken\Loop\Timer\TimerInterface