8 namespace MediaWiki\Revision
;
13 * A lazy provider of ParserOutput objects for a revision's individual slots.
17 interface SlotRenderingProvider
{
21 * @param array $hints Hints given as an associative array. Known keys:
22 * - 'generate-html' => bool: Whether the caller is interested in output HTML (as opposed
23 * to just meta-data). Default is to generate HTML.
25 * @throws SuppressedDataException if the content is not accessible for the audience
26 * specified in the constructor.
27 * @return ParserOutput
29 public function getSlotParserOutput( $role, array $hints = [] );