public function ClassMetadata::hasAssociation in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ClassMetadata.php \Doctrine\Common\Persistence\Mapping\ClassMetadata::hasAssociation()
Checks if the given field is a mapped association for this class.
Parameters
string $fieldName:
Return value
boolean
2 methods override ClassMetadata::hasAssociation()
- LazyLoadableObjectClassMetadata::hasAssociation in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ LazyLoadableObjectClassMetadata.php - Checks if the given field is a mapped association for this class.
- TestObjectMetadata::hasAssociation in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ PersistentObjectTest.php - Checks if the given field is a mapped association for this class.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ ClassMetadata.php, line 80
Class
- ClassMetadata
- Contract for a Doctrine persistence layer ClassMetadata class to implement.
Namespace
Doctrine\Common\Persistence\MappingCode
public function hasAssociation($fieldName);