MediaWiki  master
WikiImporterFactory Class Reference

Factory service for WikiImporter instances. More...

Collaboration diagram for WikiImporterFactory:

Public Member Functions

 __construct (Config $config, HookContainer $hookContainer, Language $contentLanguage, NamespaceInfo $namespaceInfo, TitleFactory $titleFactory, WikiPageFactory $wikiPageFactory, UploadRevisionImporter $uploadRevisionImporter, PermissionManager $permissionManager, IContentHandlerFactory $contentHandlerFactory, SlotRoleRegistry $slotRoleRegistry)
 
 getWikiImporter (ImportSource $source)
 

Private Attributes

Config $config
 
IContentHandlerFactory $contentHandlerFactory
 
Language $contentLanguage
 
HookContainer $hookContainer
 
NamespaceInfo $namespaceInfo
 
PermissionManager $permissionManager
 
SlotRoleRegistry $slotRoleRegistry
 
TitleFactory $titleFactory
 
UploadRevisionImporter $uploadRevisionImporter
 
WikiPageFactory $wikiPageFactory
 

Detailed Description

Factory service for WikiImporter instances.

Since
1.37

Definition at line 33 of file WikiImporterFactory.php.

Constructor & Destructor Documentation

◆ __construct()

WikiImporterFactory::__construct ( Config  $config,
HookContainer  $hookContainer,
Language  $contentLanguage,
NamespaceInfo  $namespaceInfo,
TitleFactory  $titleFactory,
WikiPageFactory  $wikiPageFactory,
UploadRevisionImporter  $uploadRevisionImporter,
PermissionManager  $permissionManager,
IContentHandlerFactory  $contentHandlerFactory,
SlotRoleRegistry  $slotRoleRegistry 
)
Parameters
Config$config
HookContainer$hookContainer
Language$contentLanguage
NamespaceInfo$namespaceInfo
TitleFactory$titleFactory
WikiPageFactory$wikiPageFactory
UploadRevisionImporter$uploadRevisionImporter
PermissionManager$permissionManager
IContentHandlerFactory$contentHandlerFactory
SlotRoleRegistry$slotRoleRegistry

Definition at line 76 of file WikiImporterFactory.php.

References $config, $contentHandlerFactory, $contentLanguage, $hookContainer, $namespaceInfo, $permissionManager, $slotRoleRegistry, $titleFactory, $uploadRevisionImporter, and $wikiPageFactory.

Member Function Documentation

◆ getWikiImporter()

WikiImporterFactory::getWikiImporter ( ImportSource  $source)
Parameters
ImportSource$source
Returns
WikiImporter

Definition at line 105 of file WikiImporterFactory.php.

References $source.

Member Data Documentation

◆ $config

Config WikiImporterFactory::$config
private

Definition at line 35 of file WikiImporterFactory.php.

Referenced by __construct().

◆ $contentHandlerFactory

IContentHandlerFactory WikiImporterFactory::$contentHandlerFactory
private

Definition at line 59 of file WikiImporterFactory.php.

Referenced by __construct().

◆ $contentLanguage

Language WikiImporterFactory::$contentLanguage
private

Definition at line 41 of file WikiImporterFactory.php.

Referenced by __construct().

◆ $hookContainer

HookContainer WikiImporterFactory::$hookContainer
private

Definition at line 38 of file WikiImporterFactory.php.

Referenced by __construct().

◆ $namespaceInfo

NamespaceInfo WikiImporterFactory::$namespaceInfo
private

Definition at line 44 of file WikiImporterFactory.php.

Referenced by __construct().

◆ $permissionManager

PermissionManager WikiImporterFactory::$permissionManager
private

Definition at line 56 of file WikiImporterFactory.php.

Referenced by __construct().

◆ $slotRoleRegistry

SlotRoleRegistry WikiImporterFactory::$slotRoleRegistry
private

Definition at line 62 of file WikiImporterFactory.php.

Referenced by __construct().

◆ $titleFactory

TitleFactory WikiImporterFactory::$titleFactory
private

Definition at line 47 of file WikiImporterFactory.php.

Referenced by __construct().

◆ $uploadRevisionImporter

UploadRevisionImporter WikiImporterFactory::$uploadRevisionImporter
private

Definition at line 53 of file WikiImporterFactory.php.

Referenced by __construct().

◆ $wikiPageFactory

WikiPageFactory WikiImporterFactory::$wikiPageFactory
private

Definition at line 50 of file WikiImporterFactory.php.

Referenced by __construct().


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