server/src/app/Libraries/RdfModel/RdfModelDelta.php
author ymh <ymh.work@gmail.com>
Tue, 19 Jan 2016 19:18:34 +0100
changeset 109 d22ed5792f8e
parent 4 f55970e41793
child 277 bd4bc1db4f40
permissions -rw-r--r--
Correct transaction management. cf. bug https://openrdf.atlassian.net/browse/SES-2295 and tomcat default management of PUT request with form data (application/x-www-form-urlencoded encoded)

<?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;
    }

}