isIdentifier() public method

Checks if the given field name is a mapped identifier for this class.
public isIdentifier ( string $fieldName ) : boolean
$fieldName string
return boolean
Ejemplo n.º 1
0
 public function testIsIdentifier()
 {
     $this->assertFalse($this->classMetadata->isIdentifier('test'));
 }