public function TestObjectMetadata::getIdentifier

Gets the mapped identifier field name.

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

Return value

array

Overrides ClassMetadata::getIdentifier

File

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