/**
  * Constructor
  *
  * @param Reactor $reactor
  * @param TimerFactory $timerFactory
  */
 public function __construct(Reactor $reactor, TimerFactory $timerFactory)
 {
     $this->timers = new \SplObjectStorage();
     $this->timerFactory = $timerFactory;
     parent::__construct($reactor);
 }
 /**
  * Constructor
  *
  * @param Reactor $reactor
  */
 public function __construct(Reactor $reactor)
 {
     $this->timers = new \ArrayObject();
     parent::__construct($reactor);
 }