WpOrg\Requests
Iri::__toString
Return the entire IRI when you try and read the object as a string
Method of the class: Iri{}
No Hooks.
Returns
String.
Usage
$Iri = new Iri(); $Iri->__toString();
Iri::__toString() Iri:: toString code WP 7.0
public function __toString() {
return $this->get_iri();
}