Debian Codegraph @

includes/libs/objectcache/IStoreKeyEncoder.php

raw symbols SCIP
1 <?php
2
3 namespace Wikimedia\ObjectCache;
4
5 /**
6 * Key-encoding methods for object caching (BagOStuff and WANObjectCache)
7 *
8 * @ingroup Cache
9 * @since 1.34
10 */
11 interface IStoreKeyEncoder {
12 /**
13 * @see BagOStuff::makeGlobalKey
14 *
15 * @param string $keygroup
16 * @param string|int ...$components
17 *
18 * @return string
19 */
20 public function makeGlobalKey( $keygroup, ...$components );
21
22 /**
23 * @see BagOStuff::makeKey
24 *
25 * @param string $keygroup
26 * @param string|int ...$components
27 *
28 * @return string
29 */
30 public function makeKey( $keygroup, ...$components );
31 }
32
33 /** @deprecated class alias since 1.43 */
34 class_alias( IStoreKeyEncoder::class, 'IStoreKeyEncoder' );