MediaWiki REL1_31
NullMessageBlobStore Class Reference

MessageBlobStore that doesn't do anything. More...

Inheritance diagram for NullMessageBlobStore:
Collaboration diagram for NullMessageBlobStore:

Public Member Functions

 clear ()
 Invalidate cache keys for all known modules.
 
 get (ResourceLoader $resourceLoader, $modules, $lang)
 
 updateMessage ( $key)
 Invalidate cache keys for modules using this message key.
 
 updateModule ( $name, ResourceLoaderModule $module, $lang)
 
- Public Member Functions inherited from MessageBlobStore
 __construct (ResourceLoader $rl=null, LoggerInterface $logger=null)
 
 getBlob (ResourceLoaderModule $module, $lang)
 Get the message blob for a module.
 
 getBlobs (array $modules, $lang)
 Get the message blobs for a set of modules.
 
 setLogger (LoggerInterface $logger)
 

Additional Inherited Members

- Protected Member Functions inherited from MessageBlobStore
 fetchMessage ( $key, $lang)
 
 getResourceLoader ()
 
 recacheMessageBlob ( $cacheKey, ResourceLoaderModule $module, $lang)
 
- Protected Attributes inherited from MessageBlobStore
LoggerInterface $logger
 
WANObjectCache $wanCache
 

Detailed Description

MessageBlobStore that doesn't do anything.

Definition at line 694 of file OutputPageTest.php.

Member Function Documentation

◆ clear()

NullMessageBlobStore::clear ( )

Invalidate cache keys for all known modules.

Called by LocalisationCache after cache is regenerated.

Reimplemented from MessageBlobStore.

Definition at line 705 of file OutputPageTest.php.

◆ get()

NullMessageBlobStore::get ( ResourceLoader  $resourceLoader,
  $modules,
  $lang 
)
Deprecated:
since 1.27 Use getBlobs() instead
Returns
array

Reimplemented from MessageBlobStore.

Definition at line 695 of file OutputPageTest.php.

◆ updateMessage()

NullMessageBlobStore::updateMessage (   $key)

Invalidate cache keys for modules using this message key.

Called by MessageCache when a message has changed.

Parameters
string$keyMessage key

Reimplemented from MessageBlobStore.

Definition at line 702 of file OutputPageTest.php.

◆ updateModule()

NullMessageBlobStore::updateModule (   $name,
ResourceLoaderModule  $module,
  $lang 
)

Definition at line 699 of file OutputPageTest.php.


The documentation for this class was generated from the following file: