|
MediaWiki master
|
Value object representing contextual information needed by Parsoid for selective serialization ("selser") of modified HTML. More...
Inherits JsonCodecable.

Public Member Functions | |
| __construct (private HtmlPageBundle $pageBundle, private int $revId, private ?Content $content=null) | |
| getContent () | |
| getPageBundle () | |
| getRevisionID () | |
| toJsonArray () | |
Static Public Member Functions | |
| static | jsonClassHintFor (string $keyName) |
| static | newFromJsonArray (array $json) |
Value object representing contextual information needed by Parsoid for selective serialization ("selser") of modified HTML.
Definition at line 21 of file SelserContext.php.
| MediaWiki\Edit\SelserContext::__construct | ( | private HtmlPageBundle | $pageBundle, |
| private int | $revId, | ||
| private ?Content | $content = null ) |
Definition at line 24 of file SelserContext.php.
| MediaWiki\Edit\SelserContext::getContent | ( | ) |
Definition at line 45 of file SelserContext.php.
| MediaWiki\Edit\SelserContext::getPageBundle | ( | ) |
Definition at line 37 of file SelserContext.php.
| MediaWiki\Edit\SelserContext::getRevisionID | ( | ) |
Definition at line 41 of file SelserContext.php.
|
static |
Definition at line 57 of file SelserContext.php.
|
static |
Definition at line 64 of file SelserContext.php.
| MediaWiki\Edit\SelserContext::toJsonArray | ( | ) |
Definition at line 49 of file SelserContext.php.