PHP Class Kraken\Loop\Timer\TimerCollection

Inheritance: implements Kraken\Loop\Timer\TimerCollectionInterface
Afficher le fichier Open project: kraken-php/framework Class Usage Examples

Protected Properties

Свойство Type Description
$timers Kraken\Loop\Timer\TimerInterface[]

Méthodes publiques

Méthode 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 méthode

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

__destruct() public méthode

public __destruct ( )

addTimer() public méthode

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

existsTimer() public méthode

public existsTimer ( $name )

getTimer() public méthode

public getTimer ( $name )

getTimers() public méthode

public getTimers ( )

removeTimer() public méthode

public removeTimer ( $name )

Property Details

$timers protected_oe property

protected TimerInterface[],Kraken\Loop\Timer $timers
Résultat Kraken\Loop\Timer\TimerInterface[]