NamedNode
in package
implements
NamedNodeInterface, SingletonTerm
Description of Iri
Tags
Table of Contents
Interfaces
- NamedNodeInterface
- Description of RdfTerm
- SingletonTerm
- Interface used to mark DataFactory-hashable terms
Properties
- $iri : string
Methods
- __construct() : mixed
- __toString() : string
- Should return:
- equals() : bool
- getValue() : string
Properties
$iri
private
string
$iri
Methods
__construct()
public
__construct(string $iri) : mixed
Parameters
- $iri : string
__toString()
Should return:
public
__toString() : string
- an URI for named nodes and blank nodes
- a value in lexical form for literals
For all other kind of terms the return value depends on the implementation
Return values
stringequals()
public
equals(TermCompareInterface $term) : bool
Parameters
- $term : TermCompareInterface
Return values
boolgetValue()
public
getValue() : string