Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Commit

Permalink
ARC2: added closeConnection function to manually close connections
Browse files Browse the repository at this point in the history
  • Loading branch information
k00ni committed Mar 27, 2018
1 parent 861ea4a commit 99845b4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Store/ARC2.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 99845b4

Please sign in to comment.