QuadCompareInterface
            
            extends
                            TermCompareInterface,                             Stringable                    
                
            in
            
        
    
        
            Interface allowing to compare Quads.
Extracted as a separated interface because it's used extensively by the Dataset class methods. One could argue the TermCompare interface would also do the job but for the Dataset it's worth to distinguish beetwen lack of match and match which makes no sense like comparing with anything which is not Quad. The QuadCompare interface introduces such a distinction.
Tags
Table of Contents
Methods
- __toString() : string
- Should return:
- equals() : bool
- getGraph() : TermCompareInterface|null
- getObject() : TermCompareInterface|null
- getPredicate() : TermCompareInterface|null
- getSubject() : TermCompareInterface|null
Methods
__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(TermInterface $term) : bool
    Parameters
- $term : TermInterface
Return values
boolgetGraph()
    public
                    getGraph() : TermCompareInterface|null
    Return values
TermCompareInterface|nullgetObject()
    public
                    getObject() : TermCompareInterface|null
    Return values
TermCompareInterface|nullgetPredicate()
    public
                    getPredicate() : TermCompareInterface|null
    Return values
TermCompareInterface|nullgetSubject()
    public
                    getSubject() : TermCompareInterface|null