Translate extension for MediaWiki
Loading...
Searching...
No Matches
CachedMessageGroupFactory.php
1
<?php
2
declare( strict_types = 1 );
3
4
namespace
MediaWiki\Extension\Translate\MessageGroupProcessing;
5
6
use CacheDependency;
7
use
MessageGroup
;
8
use Wikimedia\Rdbms\IReadableDatabase;
9
16
interface
CachedMessageGroupFactory
{
17
public
function
getCacheKey(): string;
18
19
public
function
getCacheVersion(): int;
20
22
public
function
getDependencies
(): array;
23
25
public
function
getData
( IReadableDatabase $db );
26
31
public
function
createGroups
( $data ): array;
32
}
MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactory
Interface for message group factories that use caching.
Definition
CachedMessageGroupFactory.php:16
MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactory\getData
getData(IReadableDatabase $db)
MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactory\createGroups
createGroups( $data)
MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactory\getDependencies
getDependencies()
MessageGroup
Interface for message groups.
Definition
MessageGroup.php:28
src
MessageGroupProcessing
CachedMessageGroupFactory.php
Generated by
1.10.0