projects
/
pharext
/
pharext.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
add logging; fix caching
[pharext/pharext.org]
/
app
/
Github
/
Storage.php
diff --git
a/app/Github/Storage.php
b/app/Github/Storage.php
index 3855107cf4867912b0b8e5422f6f297f24210d2c..bf572b487330c0b06cbd891d9edf2b571dbf8985 100644
(file)
--- a/
app/Github/Storage.php
+++ b/
app/Github/Storage.php
@@
-4,7
+4,7
@@
namespace app\Github;
interface Storage
{
interface Storage
{
- function set($key,
$val, $ttl = null
);
- function get($key,
&$val = null, &$ttl
= null, $update = false);
+ function set($key,
Storage\Item $item
);
+ function get($key,
Storage\Item &$item
= null, $update = false);
function del($key);
}
function del($key);
}