Locker\Repository\Statement\EloquentLinker::upRefs PHP Method

upRefs() private method

Gets the statements referencing the given statement.
private upRefs ( stdClass $statement, StoreOptions $opts, boolean $useInitialUpRefs ) : [\stdClass]
$statement stdClass
$opts StoreOptions
$useInitialUpRefs boolean
return [\stdClass]
    private function upRefs(\stdClass $statement, StoreOptions $opts, $useInitialUpRefs)
    {
        if ($useInitialUpRefs) {
            if (isset($this->upRefStatements[$statement->id])) {
                return $this->upRefStatements[$statement->id];
            }
            return new Collection();
        }
        return $this->fetchUpRefs($statement, $opts);
    }