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