MediaWiki master
MediaWiki\Parser\Parsoid\ParsoidParserFactory Class Reference

Public Member Functions

 __construct (SiteConfig $siteConfig, DataAccess $dataAccess, PageConfigFactory $pageConfigFactory, LanguageConverterFactory $languageConverterFactory, ParserFactory $legacyParserFactory, GlobalIdGenerator $globalIdGenerator)
 
 create ()
 Creates a new Parsoid parser.
 

Detailed Description

Definition at line 26 of file ParsoidParserFactory.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Parser\Parsoid\ParsoidParserFactory::__construct ( SiteConfig  $siteConfig,
DataAccess  $dataAccess,
PageConfigFactory  $pageConfigFactory,
LanguageConverterFactory  $languageConverterFactory,
ParserFactory  $legacyParserFactory,
GlobalIdGenerator  $globalIdGenerator 
)
Parameters
SiteConfig$siteConfig
DataAccess$dataAccess
PageConfigFactory$pageConfigFactory
LanguageConverterFactory$languageConverterFactory
ParserFactory$legacyParserFactory

Definition at line 41 of file ParsoidParserFactory.php.

Member Function Documentation

◆ create()

MediaWiki\Parser\Parsoid\ParsoidParserFactory::create ( )

Creates a new Parsoid parser.

Returns
ParsoidParser
Since
1.41
Stability: unstable

Definition at line 63 of file ParsoidParserFactory.php.


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