cache, false); return empty($contents) ? [] : unserialize($contents); } /** * cache $instructions * * @param array $instructions the instruction to be cached * @return bool true on success, false otherwise */ public function storeCache($instructions) { if ($this->_nocache) { return false; } return io_saveFile($this->cache, serialize($instructions)); } }