You are here

public function TestObjectMetadata::getIdentifier in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php \Doctrine\Tests\Common\Persistence\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

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