QuadNoSubject
in package
implements
QuadNoSubjectInterface
Description of QuadNoSubject
Tags
Table of Contents
Interfaces
- QuadNoSubjectInterface
- Interface used to allow adding quads without subject to a DatasetNode
Properties
- $graph : NamedNodeInterface|BlankNodeInterface|DefaultGraphInterface
- $object : TermInterface
- $predicate : NamedNodeInterface
Methods
- __construct() : mixed
- getGraph() : NamedNodeInterface|BlankNodeInterface|DefaultGraphInterface
- 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() : TermInterface
- getPredicate() : NamedNodeInterface
Properties
$graph
private
NamedNodeInterface|BlankNodeInterface|DefaultGraphInterface
$graph
$object
private
TermInterface
$object
$predicate
private
NamedNodeInterface
$predicate
Methods
__construct()
public
__construct(NamedNodeInterface $predicate, TermInterface $object, NamedNodeInterface|BlankNodeInterface|DefaultGraphInterface|null $graph) : mixed
Parameters
- $predicate : NamedNodeInterface
- $object : TermInterface
- $graph : NamedNodeInterface|BlankNodeInterface|DefaultGraphInterface|null
getGraph()
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).
public
getGraph() : NamedNodeInterface|BlankNodeInterface|DefaultGraphInterface
Return values
NamedNodeInterface|BlankNodeInterface|DefaultGraphInterfacegetObject()
public
getObject() : TermInterface
Return values
TermInterfacegetPredicate()
public
getPredicate() : NamedNodeInterface