You are here

public function EasyRdf_Format::__toString in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/easyrdf/easyrdf/lib/EasyRdf/Format.php \EasyRdf_Format::__toString()

Magic method to return the name of the format when casted to string

Return value

string The name of the format

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Format.php, line 510

Class

EasyRdf_Format
Class the represents an RDF file format.

Code

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