server/src/app/Libraries/RdfModel/RdfModelDelta.php
author ymh <ymh.work@gmail.com>
Thu, 02 Jun 2016 18:24:19 +0200
changeset 168 17f10b56c079
parent 4 f55970e41793
child 277 bd4bc1db4f40
permissions -rw-r--r--
improve document model and propagate changes. This include the change of document fixtures to better reflect what the api is effectively returning

<?php
namespace CorpusParole\Libraries\RdfModel;

use EasyRdf\Graph;

/**
 *
 */
class RdfModelDelta {

    public function __construct($uri) {
        $this->deletedGraph = new Graph($uri);
        $this->addedGraph = new Graph($uri);
    }

    private $deletedGraph;
    private $addedGraph;

    public function getDeletedGraph() {
        return $this->deletedGraph;
    }

    public function getAddedGraph() {
        return $this->addedGraph;
    }

}