MediaWiki REL1_39
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 59 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 71 of file ParserObserver.php.

References $content, CacheTime\getUsedOptions(), and ParserOptions\optionsHash().


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