public function EasyRdf_Sparql_Client::__toString

Magic method to return URI of the SPARQL endpoint when casted to string

Return value

string The URI of the SPARQL endpoint

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Sparql/Client.php, line 130

Class

EasyRdf_Sparql_Client
Class for making SPARQL queries using the SPARQL 1.1 Protocol

Code

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