MediaWiki REL1_41
|
Public Member Functions | |
__construct (ServiceOptions $options, callable $parserFactoryClosure, callable $parsoidClosure, PageConfigFactory $pageConfigFactory, SpecialPageFactory $specialPageFactory, TitleFactory $titleFactory) | |
newSignatureValidator (UserIdentity $user, ?MessageLocalizer $localizer, ParserOptions $popts) | |
Definition at line 35 of file SignatureValidatorFactory.php.
MediaWiki\Preferences\SignatureValidatorFactory::__construct | ( | ServiceOptions | $options, |
callable | $parserFactoryClosure, | ||
callable | $parsoidClosure, | ||
PageConfigFactory | $pageConfigFactory, | ||
SpecialPageFactory | $specialPageFactory, | ||
TitleFactory | $titleFactory ) |
ServiceOptions | $options | |
callable | $parserFactoryClosure | A function which returns a ParserFactory. We use this instead of an actual ParserFactory to avoid a circular dependency, since Parser also needs a SignatureValidatorFactory for signature formatting. |
callable | $parsoidClosure | A function which returns a Parsoid, same as above. |
PageConfigFactory | $pageConfigFactory | |
SpecialPageFactory | $specialPageFactory | |
TitleFactory | $titleFactory |
Definition at line 63 of file SignatureValidatorFactory.php.
References MediaWiki\Config\ServiceOptions\assertRequiredOptions().
MediaWiki\Preferences\SignatureValidatorFactory::newSignatureValidator | ( | UserIdentity | $user, |
?MessageLocalizer | $localizer, | ||
ParserOptions | $popts ) |
UserIdentity | $user | |
MessageLocalizer | null | $localizer | |
ParserOptions | $popts |
Definition at line 87 of file SignatureValidatorFactory.php.