MediaWiki  master
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()

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

Definition at line 59 of file ParserObserver.php.

Member Function Documentation

◆ notifyParse()

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, Title\castFromPageReference(), MediaWiki\Cache\CacheKeyHelper\getKeyForPage(), CacheTime\getUsedOptions(), and ParserOptions\optionsHash().


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