You are here

public function ClassMetadata::getIdentifierValues in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ClassMetadata.php \Doctrine\Common\Persistence\Mapping\ClassMetadata::getIdentifierValues()

Returns 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

2 methods override ClassMetadata::getIdentifierValues()
LazyLoadableObjectClassMetadata::getIdentifierValues in vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/LazyLoadableObjectClassMetadata.php
Returns the identifier of this object as an array with field name as key.
TestObjectMetadata::getIdentifierValues in vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php
Returns the identifier of this object as an array with field name as key.

File

vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ClassMetadata.php, line 173

Class

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

Namespace

Doctrine\Common\Persistence\Mapping

Code

public function getIdentifierValues($object);