MediaWiki master
MediaWiki\Parser\ParserObserver Class Reference

Public Member Functions

 __construct (LoggerInterface $logger)
 
 notifyParse (PageReference $page, ?int $revId, ParserOptions $options, Content $content, ParserOutput $output)
 

Detailed Description

Definition at line 45 of file ParserObserver.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Parser\ParserObserver::__construct ( LoggerInterface $logger)
Parameters
LoggerInterface$logger

Definition at line 56 of file ParserObserver.php.

Member Function Documentation

◆ notifyParse()

MediaWiki\Parser\ParserObserver::notifyParse ( PageReference $page,
?int $revId,
ParserOptions $options,
Content $content,
ParserOutput $output )
Parameters
PageReference$page
int | null$revId
ParserOptions$options
Content$content
ParserOutput$output

Definition at line 68 of file ParserObserver.php.

References CacheTime\getUsedOptions(), Content\isValid(), ParserOptions\optionsHash(), and Content\serialize().


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