public function cleanupTimerCallback() {
        $now = time();
        $keys = [];
        foreach ($this->_timestamps as $key => $timestamp) {
            if ($timestamp < $now) {
                $keys[] = $key;
            }
        }
        if (!empty($keys)) {
            $this->deleteMultiple($keys);
        }
    }
public function cleanupTimerCallback() {
        $now = time();
        $keys = [];
        foreach ($this->_timestamps as $key => $timestamp) {
            if ($timestamp < $now) {
                $keys[] = $key;
            }
        }
        if (!empty($keys)) {
            $this->deleteMultiple($keys);
        }
    }
public function cleanupTimerCallback ( ) { $ now = time ( ) ; $ keys = [ ] ; foreach ( $ this -> _timestamps as $ key => $ timestamp ) { if ( $ timestamp < $ now ) { $ keys [ ] = $ key ; } } if ( ! empty ( $ keys ) ) { $ this -> deleteMultiple ( $ keys ) ; } }
Cleanup callback for timer
Cleanup callback for timer