/** * Caches the file modification times * * @return void */ public function shutdownObject() { if ($this->modificationTimesChanged === true) { $this->cache->set($this->fileMonitor->getIdentifier() . '_filesAndModificationTimes', json_encode($this->filesAndModificationTimes)); } }