You are here

public function TestObjectMetadata::getAssociationNames in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php \Doctrine\Tests\Common\Persistence\TestObjectMetadata::getAssociationNames()

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

vendor/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',
  );
}