MediaWiki
1.34.0
|
Generic interface for object stores with key encoding methods. More...
Public Member Functions | |
makeGlobalKey ( $class,... $components) | |
Make a global cache key. More... | |
makeKey ( $class,... $components) | |
Make a cache key, scoped to this instance's keyspace. More... | |
Generic interface for object stores with key encoding methods.
Definition at line 9 of file IStoreKeyEncoder.php.
IStoreKeyEncoder::makeGlobalKey | ( | $class, | |
$components | |||
) |
Make a global cache key.
string | $class | Key class |
string | ...$components Key components (starting with a key collection name) |
Implemented in WANObjectCache, MediumSpecificBagOStuff, BagOStuff, MultiWriteBagOStuff, ReplicatedBagOStuff, and CachedBagOStuff.
IStoreKeyEncoder::makeKey | ( | $class, | |
$components | |||
) |
Make a cache key, scoped to this instance's keyspace.
string | $class | Key class |
string | ...$components Key components (starting with a key collection name) |
Implemented in WANObjectCache, MediumSpecificBagOStuff, BagOStuff, MultiWriteBagOStuff, ReplicatedBagOStuff, and CachedBagOStuff.