wikimedia/mediawiki-extensions-Wikibase

View on GitHub
client/includes/DataAccess/ParserFunctions/StatementGroupRenderer.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Wikibase\Client\DataAccess\ParserFunctions;

use Wikibase\DataModel\Entity\EntityId;

/**
 * Renderer for the {{#property}} parser function for
 * rendering a Statement group.
 *
 * @license GPL-2.0-or-later
 * @author Katie Filbert < aude.wiki@gmail.com >
 */
interface StatementGroupRenderer {

    /**
     * @param EntityId $entityId
     * @param string $propertyLabelOrId
     *
     * @return string Wikitext
     */
    public function render( EntityId $entityId, $propertyLabelOrId );

}