Magic method to return URI of resource when casted to string
string The URI of the resource
public function __toString() { return $this->uri == null ? '' : $this->uri; }