public function EasyRdf_Graph::__toString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php \EasyRdf_Graph::__toString()
Magic method to return URI of resource when casted to string
Return value
string The URI of the resource
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Graph.php, line 1597
Class
- EasyRdf_Graph
- Container for collection of EasyRdf_Resources.
Code
public function __toString() {
return $this->uri == null ? '' : $this->uri;
}