Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Interactors\DispatchingTermSearchInteractorFactory Class Reference

Class creating MatchingTermsSearchInteractorFactory instances configured for the particular display language. More...

+ Inheritance diagram for Wikibase\Lib\Interactors\DispatchingTermSearchInteractorFactory:
+ Collaboration diagram for Wikibase\Lib\Interactors\DispatchingTermSearchInteractorFactory:

Public Member Functions

 __construct (array $interactorFactories)
 
 newInteractor ( $displayLanguageCode)
 

Private Attributes

 $interactorFactories = []
 

Detailed Description

Class creating MatchingTermsSearchInteractorFactory instances configured for the particular display language.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Interactors\DispatchingTermSearchInteractorFactory::__construct ( array  $interactorFactories)
Parameters
MatchingTermsSearchInteractorFactory[]$interactorFactoriesAssociative array mapping entity type names (strings) to MatchingTermsSearchInteractorFactory instances providing the interactor for the given entity type.
Exceptions
ParameterAssertionException

Member Function Documentation

◆ newInteractor()

Wikibase\Lib\Interactors\DispatchingTermSearchInteractorFactory::newInteractor (   $displayLanguageCode)
Parameters
string$displayLanguageCode
Returns
DispatchingTermSearchInteractor

Implements Wikibase\Lib\Interactors\TermSearchInteractorFactory.

Member Data Documentation

◆ $interactorFactories

Wikibase\Lib\Interactors\DispatchingTermSearchInteractorFactory::$interactorFactories = []
private

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