Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactoryLoader Class Reference

Loads and manages message group factory loaders. More...

Inheritance diagram for MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactoryLoader:
CachedMessageGroupLoader MessageGroupLoader

Public Member Functions

 __construct (WANObjectCache $cache, IConnectionProvider $dbProvider, CachedMessageGroupFactory $factory)
 
 getGroups ()
 
 recache ()
 
 clearCache ()
 Clear values from the cache.
 

Detailed Description

Loads and manages message group factory loaders.

Since
2024.05 @license GPL-2.0-or-later
Author
Niklas Laxström

Definition at line 21 of file CachedMessageGroupFactoryLoader.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactoryLoader::__construct ( WANObjectCache $cache,
IConnectionProvider $dbProvider,
CachedMessageGroupFactory $factory )

Definition at line 28 of file CachedMessageGroupFactoryLoader.php.

Member Function Documentation

◆ clearCache()

MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactoryLoader::clearCache ( )

Clear values from the cache.

Implements CachedMessageGroupLoader.

Definition at line 52 of file CachedMessageGroupFactoryLoader.php.

◆ getGroups()

MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactoryLoader::getGroups ( )
Returns
MessageGroup[]

Implements MessageGroupLoader.

Definition at line 40 of file CachedMessageGroupFactoryLoader.php.

◆ recache()

MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactoryLoader::recache ( )
Returns
MessageGroup[]

Implements CachedMessageGroupLoader.

Definition at line 45 of file CachedMessageGroupFactoryLoader.php.


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