MediaWiki  1.32.5
ParserFactory Class Reference
Collaboration diagram for ParserFactory:

Public Member Functions

 __construct (array $conf, MagicWordFactory $magicWordFactory, Language $contLang, $urlProtocols, SpecialPageFactory $spFactory)
 
 create ()
 

Private Attributes

array $conf
 
Language $contLang
 
MagicWordFactory $magicWordFactory
 
SpecialPageFactory $specialPageFactory
 
string $urlProtocols
 

Detailed Description

Since
1.32

Definition at line 27 of file ParserFactory.php.

Constructor & Destructor Documentation

◆ __construct()

ParserFactory::__construct ( array  $conf,
MagicWordFactory  $magicWordFactory,
Language  $contLang,
  $urlProtocols,
SpecialPageFactory  $spFactory 
)
Parameters
array$confSee $wgParserConf documentation
MagicWordFactory$magicWordFactory
Language$contLangContent language
string$urlProtocolsAs returned from wfUrlProtocols()
SpecialPageFactory$spFactory
Since
1.32

Definition at line 51 of file ParserFactory.php.

References $conf, $contLang, $magicWordFactory, and $urlProtocols.

Member Function Documentation

◆ create()

ParserFactory::create ( )
Returns
Parser
Since
1.32

Definition at line 66 of file ParserFactory.php.

Member Data Documentation

◆ $conf

array ParserFactory::$conf
private

Definition at line 29 of file ParserFactory.php.

Referenced by __construct().

◆ $contLang

Language ParserFactory::$contLang
private

Definition at line 35 of file ParserFactory.php.

Referenced by __construct().

◆ $magicWordFactory

MagicWordFactory ParserFactory::$magicWordFactory
private

Definition at line 32 of file ParserFactory.php.

Referenced by __construct().

◆ $specialPageFactory

SpecialPageFactory ParserFactory::$specialPageFactory
private

Definition at line 41 of file ParserFactory.php.

◆ $urlProtocols

string ParserFactory::$urlProtocols
private

Definition at line 38 of file ParserFactory.php.

Referenced by __construct().


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