GraphAware\Neo4j\OGM\Metadata\RelationshipEntityMetadata::getAssociationTargetClass PHP Method

getAssociationTargetClass() public method

public getAssociationTargetClass ( $assocName )
    public function getAssociationTargetClass($assocName)
    {
        if ($this->startNodeReflectionProperty->getName() === $assocName) {
            return $this->startNodeEntityMetadata;
        }
        if ($this->endNodeReflectionProperty->getName() === $assocName) {
            return $this->endNodeEntityMetadata;
        }
        return null;
    }