repo/includes/Rdf/EntityRdfBuilder.php
<?php
namespace Wikibase\Repo\Rdf;
use Wikibase\DataModel\Entity\EntityDocument;
/**
* Interface for an RDF mapping for wikibase entities. It's up to the implementation to decide which
* aspects of the provided entities it will output to RDF.
*
* @license GPL-2.0-or-later
* @author Daniel Kinzler
* @author Stas Malyshev
*/
interface EntityRdfBuilder {
/**
* Map some aspect of an Entity to the RDF graph.
*
* @param EntityDocument $entity the entity to output.
*/
public function addEntity( EntityDocument $entity );
}