Page MenuHomeWickedGov Phorge

SlotRenderingProvider.php
No OneTemporary

Size
702 B
Referenced Files
None
Subscribers
None

SlotRenderingProvider.php

<?php
namespace MediaWiki\Revision;
use MediaWiki\Parser\ParserOutput;
/**
* A lazy provider of ParserOutput objects for a revision's individual slots.
*
* @since 1.32
*/
interface SlotRenderingProvider {
/**
* @param string $role
* @param array $hints Hints given as an associative array. Known keys:
* - 'generate-html' => bool: Whether the caller is interested in output HTML (as opposed
* to just meta-data). Default is to generate HTML.
*
* @throws SuppressedDataException if the content is not accessible for the audience
* specified in the constructor.
* @return ParserOutput
*/
public function getSlotParserOutput( $role, array $hints = [] );
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Dec 18, 10:42 (10 h, 21 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ec/19/01b440fb51d380ab774fff2bc082
Default Alt Text
SlotRenderingProvider.php (702 B)

Event Timeline