public function LazyLoadableObjectClassMetadata::hasAssociation in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/LazyLoadableObjectClassMetadata.php \Doctrine\Tests\Common\Proxy\LazyLoadableObjectClassMetadata::hasAssociation()
Checks if the given field is a mapped association for this class.
Parameters
string $fieldName:
Return value
boolean
Overrides ClassMetadata::hasAssociation
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ LazyLoadableObjectClassMetadata.php, line 111
Class
- LazyLoadableObjectClassMetadata
- Class metadata test asset for @author Marco Pivetta <ocramius@gmail.com> @since 2.4
Namespace
Doctrine\Tests\Common\ProxyCode
public function hasAssociation($fieldName) {
return isset($this->associations[$fieldName]);
}