Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97584516
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, Jan 5, 11:40
Size
894 B
Mime Type
text/x-php
Expires
Tue, Jan 7, 11:40 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23431101
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