DefaultGraph
in package
implements
DefaultGraphInterface
Description of DefaultGraph
Tags
Table of Contents
Interfaces
- DefaultGraphInterface
- Description of RdfTerm
Methods
- __construct() : mixed
- __toString() : string
- Should return:
- equals() : bool
- getValue() : int|float|string|bool|Stringable
Methods
__construct()
public
__construct() : mixed
__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|TermInterface $term) : bool
Parameters
- $term : TermCompareInterface|TermInterface
Return values
boolgetValue()
public
getValue() : int|float|string|bool|Stringable