public function EasyRdf_Literal_Integer::getValue

Return the value of the literal cast to a PHP int

Return value

double

Overrides EasyRdf_Literal::getValue

File

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

Class

EasyRdf_Literal_Integer
Class that represents an RDF Literal of datatype xsd:integer

Code

public function getValue() {
  return (int) $this->value;
}