From 99845b4aba236b798c2f05a63ba1039287ce5085 Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Tue, 27 Mar 2018 18:56:24 +0200 Subject: [PATCH] ARC2: added closeConnection function to manually close connections --- Store/ARC2.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Store/ARC2.php b/Store/ARC2.php index bba6993..922e59e 100644 --- a/Store/ARC2.php +++ b/Store/ARC2.php @@ -191,6 +191,14 @@ public function addStatements($statements, Node $graph = null, array $options = } } + /** + * Closes current connection. + */ + public function closeConnection() + { + $this->store->closeDBCon(); + } + /** * Create a new graph with the URI given as NamedNode. *