Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1430662
Cache.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
496 B
Referenced Files
None
Subscribers
None
Cache.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Phan\Library
;
/**
* A cache from string keys to object instances
*
* @template T
*/
interface
Cache
{
/**
* Retrieve a copy of the value from the cache, or return null
*
* @return ?T
*/
public
function
getIfExists
(
string
$key
);
/**
* Save a copy of $value to the cache.
*
* @param T $value
* @return bool true if successfully saved
*/
public
function
save
(
string
$key
,
$value
):
bool
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 19:22 (4 h, 45 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
df/32/95b25aad3ba8f26a1bce20a60c00
Default Alt Text
Cache.php (496 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment