Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92939454
PhutilKeyValueCacheProxy.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Nov 24, 23:59
Size
894 B
Mime Type
text/x-php
Expires
Tue, Nov 26, 23:59 (2 d)
Engine
blob
Format
Raw Data
Handle
22542000
Attached To
rPHU libphutil
PhutilKeyValueCacheProxy.php
View Options
<?php
abstract
class
PhutilKeyValueCacheProxy
extends
PhutilKeyValueCache
{
private
$proxy
;
final
public
function
__construct
(
PhutilKeyValueCache
$proxy
)
{
$this
->
proxy
=
$proxy
;
}
final
protected
function
getProxy
()
{
return
$this
->
proxy
;
}
public
function
isAvailable
()
{
return
$this
->
getProxy
()->
isAvailable
();
}
public
function
getKeys
(
array
$keys
)
{
return
$this
->
getProxy
()->
getKeys
(
$keys
);
}
public
function
setKeys
(
array
$keys
,
$ttl
=
null
)
{
return
$this
->
getProxy
()->
setKeys
(
$keys
,
$ttl
);
}
public
function
deleteKeys
(
array
$keys
)
{
return
$this
->
getProxy
()->
deleteKeys
(
$keys
);
}
public
function
destroyCache
()
{
return
$this
->
getProxy
()->
destroyCache
();
}
public
function
__call
(
$method
,
array
$arguments
)
{
return
call_user_func_array
(
array
(
$this
->
getProxy
(),
$method
),
$arguments
);
}
}
Event Timeline
Log In to Comment