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;
    }