Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\ParserOutput\DispatchingEntityMetaTagsCreatorFactory Class Reference

A factory to create EntityMetaTags implementations by entity type based on callbacks. More...

Public Member Functions

 __construct (array $entityMetaTagsFactoryCallbacks)
 
 newEntityMetaTags ( $entityType, Language $userLanguage)
 

Private Attributes

 $entityMetaTagsFactoryCallbacks
 

Detailed Description

A factory to create EntityMetaTags implementations by entity type based on callbacks.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ParserOutput\DispatchingEntityMetaTagsCreatorFactory::__construct ( array  $entityMetaTagsFactoryCallbacks)
Parameters
callable[]$entityMetaTagsFactoryCallbacks

Member Function Documentation

◆ newEntityMetaTags()

Wikibase\Repo\ParserOutput\DispatchingEntityMetaTagsCreatorFactory::newEntityMetaTags (   $entityType,
Language  $userLanguage 
)

Member Data Documentation

◆ $entityMetaTagsFactoryCallbacks

Wikibase\Repo\ParserOutput\DispatchingEntityMetaTagsCreatorFactory::$entityMetaTagsFactoryCallbacks
private

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