MediaWiki master
ICodeHighlighterMetadata.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Content;
4
7
18
24 public function addToParserOutput( ParserOutput $parserOutput ): void;
25
31 public function addToOutputPage( OutputPage $outputPage ): void;
32}
This is one of the Core classes and should be read at least once by any new developers.
ParserOutput is a rendering of a Content object or a message.
Metadata needed to render highlighted code.
addToParserOutput(ParserOutput $parserOutput)
Add this metadata to a ParserOutput.
addToOutputPage(OutputPage $outputPage)
Add this metadata to an OutputPage.