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

downRef() private method

Gets the statement referred to by the given statement.
private downRef ( stdClass $statement, StoreOptions $opts ) : Model
$statement stdClass
$opts StoreOptions
return Illuminate\Database\Eloquent\Model
    private function downRef(\stdClass $statement, StoreOptions $opts)
    {
        if (!$this->isReferencing($statement)) {
            return null;
        }
        return $this->getModel($statement->object->id, $opts);
    }