public function TestObjectMetadata::isSingleValuedAssociation in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php \Doctrine\Tests\Common\Persistence\TestObjectMetadata::isSingleValuedAssociation()
Checks if the given field is a mapped single valued association for this class.
Parameters
string $fieldName:
Return value
boolean
Overrides ClassMetadata::isSingleValuedAssociation
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ PersistentObjectTest.php, line 223
Class
Namespace
Doctrine\Tests\Common\PersistenceCode
public function isSingleValuedAssociation($fieldName) {
return $fieldName === 'parent';
}