Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\LocalizedTextProviderFactory Class Reference

Public Member Functions

 __construct (LanguageFactory $languageFactory)
 
 getForLanguage (Language $language)
 
 getForLanguageCode (string $langCode)
 

Private Attributes

 $languageFactory
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\LocalizedTextProviderFactory::__construct ( LanguageFactory  $languageFactory)
Parameters
LanguageFactory$languageFactory

Member Function Documentation

◆ getForLanguage()

Wikibase\Repo\LocalizedTextProviderFactory::getForLanguage ( Language  $language)

◆ getForLanguageCode()

Wikibase\Repo\LocalizedTextProviderFactory::getForLanguageCode ( string  $langCode)
Exceptions
MWException

Member Data Documentation

◆ $languageFactory

Wikibase\Repo\LocalizedTextProviderFactory::$languageFactory
private

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