isIdentifier() 공개 메소드

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