contains() public method

public contains ( Kraken\Loop\Timer\TimerInterface $timer ) : boolean
$timer Kraken\Loop\Timer\TimerInterface
return boolean
Beispiel #1
0
 /**
  * @override
  * @inheritDoc
  */
 public function isTimerActive(TimerInterface $timer)
 {
     return $this->timers->contains($timer);
 }