You are here

public function EasyRdf_GraphStore::__toString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/GraphStore.php \EasyRdf_GraphStore::__toString()

Magic method to return URI of the graph store when casted to string

Return value

string The URI of the graph store

File

vendor/easyrdf/easyrdf/lib/EasyRdf/GraphStore.php, line 302

Class

EasyRdf_GraphStore
A class for fetching, saving and deleting graphs to a Graph Store. Implementation of the SPARQL 1.1 Graph Store HTTP Protocol.

Code

public function __toString() {
  return empty($this->uri) ? '' : $this->uri;
}