Checks if the given field name is a mapped identifier for this class.
public isIdentifier ( string $fieldName ) : boolean | ||
$fieldName | string | |
리턴 | boolean |
public function testIsIdentifier() { $this->assertFalse($this->classMetadata->isIdentifier('test')); }