public function EasyRdf_Literal::__toString

Magic method to return the value of a literal as a string

Return value

string The value of the literal

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Literal.php, line 300

Class

EasyRdf_Literal
Class that represents an RDF Literal

Code

public function __toString() {
  return isset($this->value) ? $this->value : '';
}