protected function getRelationshipInstance() : Relationship
    {
        $relation = $this->relationshipMethod;
        $entity = $this->parentEntity;
        $entityMap = Manager::getMapper($entity)->getEntityMap();

        return $entityMap->$relation($entity);
    }
protected function getRelationshipInstance() : Relationship
    {
        $relation = $this->relationshipMethod;
        $entity = $this->parentEntity;
        $entityMap = Manager::getMapper($entity)->getEntityMap();

        return $entityMap->$relation($entity);
    }
protected function getRelationshipInstance ( ) : Relationship { $ relation = $ this -> relationshipMethod ; $ entity = $ this -> parentEntity ; $ entityMap = Manager :: getMapper ( $ entity ) -> getEntityMap ( ) ; return $ entityMap -> $ relation ( $ entity ) ; }
Return instance of the underlying relationship.

@return Relationship
Return instance of the underlying relationship .