MediaWiki REL1_34
|
Public Member Functions | |
__construct ( $svcOptions, MagicWordFactory $magicWordFactory, Language $contLang, $urlProtocols, SpecialPageFactory $spFactory, $linkRendererFactory, $nsInfo=null, $logger=null, BadFileLookup $badFileLookup=null) | |
Old parameter list, which we support for backwards compatibility, were: array $parserConf See $wgParserConf documentation MagicWordFactory $magicWordFactory Language $contLang Content language string $urlProtocols As returned from wfUrlProtocols() SpecialPageFactory $spFactory Config $siteConfig LinkRendererFactory $linkRendererFactory NamespaceInfo|null $nsInfo. | |
create () | |
Private Attributes | |
BadFileLookup | $badFileLookup |
Language | $contLang |
LinkRendererFactory | $linkRendererFactory |
LoggerInterface | $logger |
MagicWordFactory | $magicWordFactory |
NamespaceInfo | $nsInfo |
SpecialPageFactory | $specialPageFactory |
ServiceOptions | $svcOptions |
string | $urlProtocols |
Definition at line 33 of file ParserFactory.php.
ParserFactory::__construct | ( | $svcOptions, | |
MagicWordFactory | $magicWordFactory, | ||
Language | $contLang, | ||
$urlProtocols, | |||
SpecialPageFactory | $spFactory, | ||
$linkRendererFactory, | |||
$nsInfo = null , |
|||
$logger = null , |
|||
BadFileLookup | $badFileLookup = null |
||
) |
Old parameter list, which we support for backwards compatibility, were: array $parserConf See $wgParserConf documentation MagicWordFactory $magicWordFactory Language $contLang Content language string $urlProtocols As returned from wfUrlProtocols() SpecialPageFactory $spFactory Config $siteConfig LinkRendererFactory $linkRendererFactory NamespaceInfo|null $nsInfo.
Some type declarations were intentionally omitted so that the backwards compatibility code would work. When backwards compatibility is no longer required, we should remove it, and and add the omitted type declarations.
ServiceOptions | array | $svcOptions | |
MagicWordFactory | $magicWordFactory | |
Language | $contLang | Content language |
string | $urlProtocols | As returned from wfUrlProtocols() |
SpecialPageFactory | $spFactory | |
LinkRendererFactory | $linkRendererFactory | |
NamespaceInfo | LinkRendererFactory | null | $nsInfo | |
LoggerInterface | null | $logger | |
BadFileLookup | null | $badFileLookup |
Definition at line 87 of file ParserFactory.php.
References MediaWiki\Config\ServiceOptions\assertRequiredOptions(), wfDebug(), and wfDeprecated().
ParserFactory::create | ( | ) |
|
private |
Definition at line 59 of file ParserFactory.php.
|
private |
Definition at line 41 of file ParserFactory.php.
|
private |
Definition at line 50 of file ParserFactory.php.
|
private |
Definition at line 56 of file ParserFactory.php.
|
private |
Definition at line 38 of file ParserFactory.php.
|
private |
Definition at line 53 of file ParserFactory.php.
|
private |
Definition at line 47 of file ParserFactory.php.
|
private |
Definition at line 35 of file ParserFactory.php.
|
private |
Definition at line 44 of file ParserFactory.php.