BlankNode
in package
implements
BlankNodeInterface
Description of BlankNode
Tags
Table of Contents
Interfaces
- BlankNodeInterface
- Description of RdfTerm
Properties
Methods
- __construct() : mixed
- __toString() : string
- Should return:
- equals() : bool
- getValue() : string
Properties
$id
private
string
$id
$n
private
static int
$n
= 0
Methods
__construct()
public
__construct([string|null $id = null ]) : mixed
Parameters
- $id : string|null = null
__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