GraphAware\Neo4j\OGM\Metadata\ClassMetadata::getRelationshipType PHP 메소드

getRelationshipType() 공개 메소드

public getRelationshipType ( ) : string
리턴 string
    public function getRelationshipType()
    {
        if (!$this->isRelationshipEntity()) {
            throw new MappingException(sprintf('This class metadata is not for a relationship entity'));
        }
        return $this->entityAnnotation->type;
    }