Checks if the given field name is a mapped identifier for this class.
Parameters
string $fieldName:
Return value
boolean
Overrides ClassMetadata::isIdentifier
File
 
   - drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php, line 218
 
  
  Class
  
  - TestObjectMetadata 
 
  
  Namespace
  Doctrine\Tests\Common\Persistence
Code
public function isIdentifier($fieldName) {
  return $fieldName === 'id';
}