You are here

public function TestObjectMetadata::getAssociationNames in Plug 7

Returns a numerically indexed list of association names of this persistent class.

This array includes identifier associations if present on this class.

Return value

array

Overrides ClassMetadata::getAssociationNames

File

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

Class

TestObjectMetadata

Namespace

Doctrine\Tests\Common\Persistence

Code

public function getAssociationNames() {
  return array(
    'parent',
    'children',
  );
}