mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
* add folds
This commit is contained in:
parent
cd72343bb3
commit
ee0ad3c81a
@ -47,6 +47,9 @@ class PEAR_Remote extends PEAR
|
||||
}
|
||||
|
||||
// }}}
|
||||
|
||||
// {{{ getCache()
|
||||
|
||||
|
||||
function getCache($args)
|
||||
{
|
||||
@ -66,7 +69,11 @@ class PEAR_Remote extends PEAR
|
||||
);
|
||||
return $result;
|
||||
}
|
||||
|
||||
// }}}
|
||||
|
||||
// {{{ saveCache()
|
||||
|
||||
function saveCache($args, $data)
|
||||
{
|
||||
$id = md5(serialize($args));
|
||||
@ -82,6 +89,8 @@ class PEAR_Remote extends PEAR
|
||||
fclose($fp);
|
||||
};
|
||||
}
|
||||
|
||||
// }}}
|
||||
|
||||
// {{{ call(method, [args...])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user