/** * Returns the cache last modification time. * * @return int The last modification time */ public function lastModified($id, $namespace = self::DEFAULT_NAMESPACE) { list($path, $file) = $this->getFileName($id, $namespace); try { $std = self::$mem[$this->bucket]->get($path . $file); if ($std instanceof Stdclass) { return $std->lastModified; } else { throw new Exception("Returned an invalid object type"); } } catch (Exception $e) { parent::lastModified($id, $namespace); } }