You are here

public function TestObjectMetadata::getIdentifier in Plug 7

Gets the mapped identifier field name.

The returned structure is an array of the identifier field names.

Return value

array

Overrides ClassMetadata::getIdentifier

File

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

Class

TestObjectMetadata

Namespace

Doctrine\Tests\Common\Persistence

Code

public function getIdentifier() {
  return array(
    'id',
  );
}