You are here

public function TestObjectMetadata::isSingleValuedAssociation in Plug 7

Checks if the given field is a mapped single valued association for this class.

Parameters

string $fieldName:

Return value

boolean

Overrides ClassMetadata::isSingleValuedAssociation

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php, line 223

Class

TestObjectMetadata

Namespace

Doctrine\Tests\Common\Persistence

Code

public function isSingleValuedAssociation($fieldName) {
  return $fieldName === 'parent';
}