You are here

public function TestObjectMetadata::isCollectionValuedAssociation in Plug 7

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

Parameters

string $fieldName:

Return value

boolean

Overrides ClassMetadata::isCollectionValuedAssociation

File

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

Class

TestObjectMetadata

Namespace

Doctrine\Tests\Common\Persistence

Code

public function isCollectionValuedAssociation($fieldName) {
  return $fieldName === 'children';
}