You are here

public function LazyLoadableObjectClassMetadata::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

1 call to LazyLoadableObjectClassMetadata::getIdentifier()
LazyLoadableObjectClassMetadata::getIdentifierFieldNames in lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/LazyLoadableObjectClassMetadata.php
Returns an array of identifier field names numerically indexed.

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/LazyLoadableObjectClassMetadata.php, line 75

Class

LazyLoadableObjectClassMetadata
Class metadata test asset for @author Marco Pivetta <ocramius@gmail.com> @since 2.4

Namespace

Doctrine\Tests\Common\Proxy

Code

public function getIdentifier() {
  return array_keys($this->identifier);
}