Merge "rdbms: Replace func_get_args() in SQLPlatform::buildLike()"
[mediawiki.git] / includes / libs / objectcache / IStoreKeyEncoder.php
blobb39ec8035dd81d74d17c6374935137cfa0c904e7
1 <?php
3 namespace Wikimedia\ObjectCache;
5 /**
6 * Key-encoding methods for object caching (BagOStuff and WANObjectCache)
8 * @ingroup Cache
9 * @since 1.34
11 interface IStoreKeyEncoder {
12 /**
13 * @see BagOStuff::makeGlobalKey
15 * @param string $keygroup
16 * @param string|int ...$components
18 * @return string
20 public function makeGlobalKey( $keygroup, ...$components );
22 /**
23 * @see BagOStuff::makeKey
25 * @param string $keygroup
26 * @param string|int ...$components
28 * @return string
30 public function makeKey( $keygroup, ...$components );
33 /** @deprecated class alias since 1.43 */
34 class_alias( IStoreKeyEncoder::class, 'IStoreKeyEncoder' );