MediaWiki  master
ParsoidOutputStash.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Edit;
4 
6 use Wikimedia\Parsoid\Core\SelserData;
7 
17 interface ParsoidOutputStash {
18 
31  public function set( ParsoidRenderID $renderId, SelserContext $selserContext ): bool;
32 
44  public function get( ParsoidRenderID $renderId ): ?SelserContext;
45 
46 }
Value object representing contextual information needed by Parsoid for selective serialization ("sels...
Represents the identity of a specific rendering of a specific revision at some point in time.
Stash for Parsoid output and associated data as needed to perform selective serialization (aka "selse...