Merge "Fix documentation for Revision::getComment and WikiPage::getComment"
[lhc/web/wiklou.git] / includes / libs / objectcache / ReplicatedBagOStuff.php
index 8239491..f2c3732 100644 (file)
@@ -18,6 +18,7 @@
  * @file
  * @ingroup Cache
  */
+use Wikimedia\ObjectFactory;
 
 /**
  * A cache class that directs writes to one set of servers and reads to
@@ -127,4 +128,16 @@ class ReplicatedBagOStuff extends BagOStuff {
                $this->writeStore->clearLastError();
                $this->readStore->clearLastError();
        }
+
+       public function makeKeyInternal( $keyspace, $args ) {
+               return $this->writeStore->makeKeyInternal( ...func_get_args() );
+       }
+
+       public function makeKey( $class, $component = null ) {
+               return $this->writeStore->makeKey( ...func_get_args() );
+       }
+
+       public function makeGlobalKey( $class, $component = null ) {
+               return $this->writeStore->makeGlobalKey( ...func_get_args() );
+       }
 }