MediaWiki  master
Parser\ParserObserver Class Reference
Collaboration diagram for Parser\ParserObserver:

Public Member Functions

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

Private Member Functions

 getParseId (string $titleStr, ?int $revId, string $optionsHash, string $contentSha1)
 

Private Attributes

LoggerInterface $logger
 
array $previousParseStackTraces
 

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.

References Parser\ParserObserver\$logger.

Member Function Documentation

◆ getParseId()

Parser\ParserObserver::getParseId ( string  $titleStr,
?int  $revId,
string  $optionsHash,
string  $contentSha1 
)
private
Parameters
string$titleStr
int | null$revId
string$optionsHash
string$contentSha1
Returns
string

Definition at line 115 of file ParserObserver.php.

Referenced by Parser\ParserObserver\notifyParse().

◆ notifyParse()

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

Member Data Documentation

◆ $logger

LoggerInterface Parser\ParserObserver::$logger
private

Definition at line 49 of file ParserObserver.php.

Referenced by Parser\ParserObserver\__construct().

◆ $previousParseStackTraces

array Parser\ParserObserver::$previousParseStackTraces
private

Definition at line 54 of file ParserObserver.php.


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