You are here

public function EasyRdf_Literal_Integer::getValue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/Integer.php \EasyRdf_Literal_Integer::getValue()

Return the value of the literal cast to a PHP int

Return value

double

Overrides EasyRdf_Literal::getValue

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/Integer.php, line 64

Class

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

Code

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