server/src/app/Libraries/Mergers/RdfMerger.php
author ymh <ymh.work@gmail.com>
Mon, 25 Apr 2016 12:53:47 +0200
changeset 155 76ae75975ee2
parent 18 f2a40bbc27f6
permissions -rw-r--r--
upgrade ember to 2.6.0

<?php
namespace CorpusParole\Libraries\Mergers;

/**
 * merge graphes after mapping them.
 */
interface RdfMerger {


    /**
     * Merge an Rdf Graph from one model to another
     *
     * @param EasyRdf\Graph $baseGraph The graph used as base for the merge
     * @param EasyRdf\Graph $srcGraph The source graph with the new triples to add
     *
     * @return EasyRdf\Graph The new merged graph
     */
    function mergeGraph($baseGraph, $srcGraph);

}