Documentation

BlankNode
in package
implements BlankNode, SingletonTerm

Description of BlankNode

Tags
author

zozlak

Interfaces, Classes, Traits and Enums

BlankNode
Description of RdfTerm
SingletonTerm
Interface used to mark DataFactory-hashable terms

Table of Contents

$id  : string
$n  : int
__construct()  : mixed
__toString()  : string
equals()  : bool
getValue()  : string
resetCounter()  : void
Resets the counter used to assign blank node ids.

Properties

Methods

__construct()

public __construct([string|null $id = null ]) : mixed
Parameters
$id : string|null = null
Return values
mixed

__toString()

public __toString() : string
Return values
string

equals()

public equals(Term $term) : bool
Parameters
$term : Term
Return values
bool

getValue()

public getValue() : string
Return values
string

resetCounter()

Resets the counter used to assign blank node ids.

public static resetCounter() : void

Useful when predictable blank node ids are required, e.g. in tests context

Return values
void

Search results