示例#1
0
 public static function get($path)
 {
     if (!is_null(self::$key)) {
         return self::$cache->get(self::$key);
     }
     $prefix = self::$request->getUrlPrefix();
     self::$key = md5($prefix . $path);
     return self::$cache->get(self::$key);
 }