function ClassMetadata::getIdentifierValues

Return the identifier of this object as an array with field name as key.

Has to return an empty array if no identifier isset.

Parameters

object $object:

Return value

array

1 method overrides ClassMetadata::getIdentifierValues()
TestObjectMetadata::getIdentifierValues in drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php
Return the identifier of this object as an array with field name as key.

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ClassMetadata.php, line 164

Class

ClassMetadata
Contract for a Doctrine persistence layer ClassMetadata class to implement.

Namespace

Doctrine\Common\Persistence\Mapping

Code

function getIdentifierValues($object);