- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::__construct |
( |
Language |
$language, |
|
|
EntityTitleTextLookup |
$entityTitleTextLookup, |
|
|
array |
$callbacks |
|
) |
| |
- Parameters
-
Language | $language | |
callable[] | $callbacks | maps entity type strings to callbacks returning LinkFormatter |
◆ createAndCacheLinkFormatter()
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::createAndCacheLinkFormatter |
( |
|
$type | ) |
|
|
private |
◆ getDefaultLinkFormatter()
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::getDefaultLinkFormatter |
( |
| ) |
|
◆ getLinkFormatter()
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::getLinkFormatter |
( |
|
$type | ) |
|
◆ getOrCreateLinkFormatter()
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::getOrCreateLinkFormatter |
( |
|
$type | ) |
|
|
private |
◆ $cachedLinkFormatters
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::$cachedLinkFormatters = [] |
|
private |
◆ $callbacks
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::$callbacks |
|
private |
◆ $language
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::$language |
|
private |
The documentation for this class was generated from the following file: