Doctrine\ODM\MongoDB\Mapping\ClassMetadataInfo::isSingleValuedAssociation PHP Method

isSingleValuedAssociation() public method

Checks whether the class has a mapped reference or embed for the specified field and is a single valued association.
public isSingleValuedAssociation ( $fieldName )
    public function isSingleValuedAssociation($fieldName)
    {
        return $this->isSingleValuedReference($fieldName) || $this->isSingleValuedEmbed($fieldName);
    }
ClassMetadataInfo