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

fetchUpRefs() private method

Gets the statements referencing the given statement from the database
private fetchUpRefs ( stdClass $statement, StoreOptions $opts ) : [\stdClass]
$statement stdClass
$opts StoreOptions
return [\stdClass]
    private function fetchUpRefs(\stdClass $statement, StoreOptions $opts)
    {
        return $this->where($opts)->where('statement.object.id', $statement->id)->where('statement.object.objectType', 'StatementRef')->get();
    }