/** * Gets the metadata for a relationship. * * @param RelationshipMetadata $relMeta The relationship metadata. * @return EntityMetadata */ public function getMetadataForRelationship(RelationshipMetadata $relMeta) { return $this->getMetadataForType($relMeta->getEntityType()); }