MediaWiki REL1_34
|
The MediaWiki-specific implementation of IMessageFormatterFactory. More...
Public Member Functions | |
__construct () | |
Required parameters may be added to this function without deprecation. | |
getTextFormatter ( $langCode) | |
Get a text message formatter for a given language. | |
Private Attributes | |
$textFormatters = [] | |
The MediaWiki-specific implementation of IMessageFormatterFactory.
Definition at line 11 of file MessageFormatterFactory.php.
MediaWiki\Message\MessageFormatterFactory::__construct | ( | ) |
Required parameters may be added to this function without deprecation.
External callers should use MediaWikiServices::getMessageFormatterFactory().
Definition at line 20 of file MessageFormatterFactory.php.
MediaWiki\Message\MessageFormatterFactory::getTextFormatter | ( | $langCode | ) |
Get a text message formatter for a given language.
string | $langCode | The language code |
Implements Wikimedia\Message\IMessageFormatterFactory.
Definition at line 23 of file MessageFormatterFactory.php.
|
private |
Definition at line 12 of file MessageFormatterFactory.php.