/** * add or update file in cache * @param string $file absolute path */ public function updateFile($file) { $fileInfo = new File($this->_dir . $file, $this->_config); $this->_items[$file] = $fileInfo->getParams(); $this->_save(); }