You are here

public function EasyRdf_Resource::__toString in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/easyrdf/easyrdf/lib/EasyRdf/Resource.php \EasyRdf_Resource::__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/Resource.php, line 238

Class

EasyRdf_Resource
Class that represents an RDF resource

Code

public function __toString() {
  return $this->uri;
}