Doctrine\ORM\Mapping\ClassMetadataInfo::isIdentifier
Checks whether a field is part of the identifier/primary key field(s).
Signature
public function isIdentifier(string
$fieldName )
Parameters
$fieldName
— string- The field name
Returns
- boolean
- TRUE if the field is part of the table identifier/primary key field(s),
FALSE otherwise.