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

hasEmbed() public method

Checks whether the class has a mapped embed with the given field name.
public hasEmbed ( string $fieldName ) : boolean
$fieldName string
return boolean
    public function hasEmbed($fieldName)
    {
        return isset($this->fieldMappings[$fieldName]['embedded']);
    }
ClassMetadataInfo