server/src/app/Libraries/Mergers/RdfMerger.php
changeset 18 f2a40bbc27f6
equal deleted inserted replaced
17:ac3dc090e987 18:f2a40bbc27f6
       
     1 <?php
       
     2 namespace CorpusParole\Libraries\Mergers;
       
     3 
       
     4 /**
       
     5  * merge graphes after mapping them.
       
     6  */
       
     7 interface RdfMerger {
       
     8 
       
     9 
       
    10     /**
       
    11      * Merge an Rdf Graph from one model to another
       
    12      *
       
    13      * @param EasyRdf\Graph $baseGraph The graph used as base for the merge
       
    14      * @param EasyRdf\Graph $srcGraph The source graph with the new triples to add
       
    15      *
       
    16      * @return EasyRdf\Graph The new merged graph
       
    17      */
       
    18     function mergeGraph($baseGraph, $srcGraph);
       
    19 
       
    20 }