You are here

public function LazyLoadableObjectClassMetadata::getIdentifier in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/LazyLoadableObjectClassMetadata.php \Doctrine\Tests\Common\Proxy\LazyLoadableObjectClassMetadata::getIdentifier()

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 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/LazyLoadableObjectClassMetadata.php
Returns an array of identifier field names numerically indexed.

File

vendor/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);
}