public function EasyRdf_Graph::__toString

Magic method to return URI of resource when casted to string

Return value

string The URI of the resource

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php, line 1561

Class

EasyRdf_Graph
Container for collection of EasyRdf_Resources.

Code

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