MediaWiki  1.34.0
LCStoreNull.php
Go to the documentation of this file.
1 <?php
24 class LCStoreNull implements LCStore {
25 
26  public function get( $code, $key ) {
27  return null;
28  }
29 
30  public function startWrite( $code ) {
31  }
32 
33  public function finishWrite() {
34  }
35 
36  public function set( $key, $value ) {
37  }
38 
39 }
LCStore
Interface for the persistence layer of LocalisationCache.
Definition: LCStore.php:38
LCStoreNull\startWrite
startWrite( $code)
Start a write transaction.
Definition: LCStoreNull.php:30
LCStoreNull
Null store backend, used to avoid DB errors during install.
Definition: LCStoreNull.php:24
LCStoreNull\finishWrite
finishWrite()
Finish a write transaction.
Definition: LCStoreNull.php:33