PHP Class Kraken\Loop\Timer\TimerCollection

Inheritance: implements Kraken\Loop\Timer\TimerCollectionInterface
Datei anzeigen Open project: kraken-php/framework Class Usage Examples

Protected Properties

Property Type Description
$timers Kraken\Loop\Timer\TimerInterface[]

Public Methods

Method Description
__construct ( Kraken\Loop\Timer\TimerInterface[] $timers = [] )
__destruct ( )
addTimer ( $name, Kraken\Loop\Timer\TimerInterface $timer )
existsTimer ( $name )
getTimer ( $name )
getTimers ( )
removeTimer ( $name )

Method Details

__construct() public method

public __construct ( Kraken\Loop\Timer\TimerInterface[] $timers = [] )
$timers Kraken\Loop\Timer\TimerInterface[]

__destruct() public method

public __destruct ( )

addTimer() public method

public addTimer ( $name, Kraken\Loop\Timer\TimerInterface $timer )
$timer Kraken\Loop\Timer\TimerInterface

existsTimer() public method

public existsTimer ( $name )

getTimer() public method

public getTimer ( $name )

getTimers() public method

public getTimers ( )

removeTimer() public method

public removeTimer ( $name )

Property Details

$timers protected_oe property

protected TimerInterface[],Kraken\Loop\Timer $timers
return Kraken\Loop\Timer\TimerInterface[]