|
MediaWiki master
|
Value object for code highlighting output. More...
Public Member Functions | |
| __construct (private string $html, private ICodeHighlighterMetadata $metadata=new CodeHighlighterMetadata(),) | |
| getHtml () | |
| getMetadata () | |
Value object for code highlighting output.
Definition at line 12 of file CodeHighlighterOutput.php.
| MediaWiki\Content\CodeHighlighterOutput::__construct | ( | private string | $html, |
| private ICodeHighlighterMetadata | $metadata = new CodeHighlighterMetadata() ) |
| string | $html | The HTML representing the highlighted code |
| ICodeHighlighterMetadata | $metadata | Metadata necessary to render the highlighted code |
Definition at line 18 of file CodeHighlighterOutput.php.
| MediaWiki\Content\CodeHighlighterOutput::getHtml | ( | ) |
Definition at line 24 of file CodeHighlighterOutput.php.
| MediaWiki\Content\CodeHighlighterOutput::getMetadata | ( | ) |
Definition at line 28 of file CodeHighlighterOutput.php.