function ClassMetadata::isIdentifier

Checks if the given field name is a mapped identifier for this class.

Parameters

string $fieldName:

Return value

boolean

1 method overrides ClassMetadata::isIdentifier()
TestObjectMetadata::isIdentifier in drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php
Checks if the given field name is a mapped identifier for this class.

File

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

Class

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

Namespace

Doctrine\Common\Persistence\Mapping

Code

function isIdentifier($fieldName);