protected function createCleanupTimer() {
        if (isset($this->_timer)) {
            $this->loop->cancelTimer($this->_timer);
        }
        $this->_timer = $this->loop->addPeriodicTimer($this->timerInterval, [$this, 'cleanupTimerCallback']);
    }
protected function createCleanupTimer() {
        if (isset($this->_timer)) {
            $this->loop->cancelTimer($this->_timer);
        }
        $this->_timer = $this->loop->addPeriodicTimer($this->timerInterval, [$this, 'cleanupTimerCallback']);
    }
protected function createCleanupTimer ( ) { if ( isset ( $ this -> _timer ) ) { $ this -> loop -> cancelTimer ( $ this -> _timer ) ; } $ this -> _timer = $ this -> loop -> addPeriodicTimer ( $ this -> timerInterval , [ $ this , 'cleanupTimerCallback' ] ) ; }
Create cleanup timer
Create cleanup timer