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, LoggerInterface $logger)
 
 getBlockErrorFormatter (LocalizationContext $context)
 
 getStatusFormatter (MessageLocalizer $messageLocalizer)
 

Detailed Description

Factory for formatters of common complex objects.

Since
1.42

Definition at line 20 of file FormatterFactory.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 29 of file FormatterFactory.php.

Member Function Documentation

◆ getBlockErrorFormatter()

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

Definition at line 49 of file FormatterFactory.php.

◆ getStatusFormatter()

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

Definition at line 45 of file FormatterFactory.php.


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