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