MediaWiki master
MediaWiki\Language\FormatterFactory Class Reference

Factory for formatters of common complex objects. More...

Public Member Functions

 __construct (MessageCache $messageCache, TitleFormatter $titleFormatter, HookContainer $hookContainer, UserIdentityUtils $userIdentityUtils, LanguageFactory $languageFactory)
 
 getBlockErrorFormatter (LocalizationContext $context)
 
 getStatusFormatter (MessageLocalizer $messageLocalizer)
 

Detailed Description

Factory for formatters of common complex objects.

Since
1.42

Definition at line 19 of file FormatterFactory.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Language\FormatterFactory::__construct ( MessageCache  $messageCache,
TitleFormatter  $titleFormatter,
HookContainer  $hookContainer,
UserIdentityUtils  $userIdentityUtils,
LanguageFactory  $languageFactory 
)

Definition at line 27 of file FormatterFactory.php.

Member Function Documentation

◆ getBlockErrorFormatter()

MediaWiki\Language\FormatterFactory::getBlockErrorFormatter ( LocalizationContext  $context)

Definition at line 45 of file FormatterFactory.php.

◆ getStatusFormatter()

MediaWiki\Language\FormatterFactory::getStatusFormatter ( MessageLocalizer  $messageLocalizer)

Definition at line 41 of file FormatterFactory.php.


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