MediaWiki master
LCStore.php
Go to the documentation of this file.
1<?php
7namespace MediaWiki\Language;
8
28interface LCStore {
29
36 public function get( $code, $key );
37
43 public function startWrite( $code );
44
48 public function finishWrite();
49
57 public function set( $key, $value );
58
74 public function lateFallback(): bool;
75}
76
78class_alias( LCStore::class, 'LCStore' );
Interface for the persistence layer of LocalisationCache.
Definition LCStore.php:28
finishWrite()
Finish a cache write transaction.
startWrite( $code)
Start a cache write transaction.
lateFallback()
Can this cache type delay fallback lookups to read time?