Documentation

Quad
in package
implements Quad, SingletonTerm

Description of Triple

Tags
author

zozlak

Interfaces, Classes, Traits and Enums

Quad
Extends Term because of RDF*
SingletonTerm
Interface used to mark DataFactory-hashable terms

Table of Contents

$graph  : NamedNode|BlankNode|DefaultGraph
$object  : Term
$predicate  : NamedNode
$subject  : Term
__construct()  : mixed
__toString()  : string
equals()  : bool
getGraph()  : NamedNode|BlankNode|DefaultGraph
Null is not allowed to deal with the ambiguity between DefaultGraph and null which mean the same (although it should be noted that all quads in NamedNode/BlankNode graphs also belong to the DefaultGraph).
getObject()  : Term
getPredicate()  : NamedNode
getSubject()  : Term
getValue()  : string
withGraph()  : Quad
withObject()  : Quad
withPredicate()  : Quad
withSubject()  : Quad

Properties

Methods

__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

withSubject()

public withSubject(Term $subject) : Quad
Parameters
$subject : Term
Return values
Quad

Search results