wikimedia/mediawiki-extensions-Wikibase

View on GitHub
repo/includes/Diff/EntityDiffVisualizer.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Wikibase\Repo\Diff;

use Wikibase\Repo\Content\EntityContentDiff;

/**
 * Service interface for rendering EntityContentDiffs as HTML.
 *
 * @license GPL-2.0-or-later
 * @author Amir Sarabadani <ladsgroup@gmail.com>
 */
interface EntityDiffVisualizer {

    /**
     * Renders a EntityContentDiffs as HTML.
     *
     * @param EntityContentDiff $diff
     * @return string HTML
     */
    public function visualizeEntityContentDiff( EntityContentDiff $diff );

}