hasAssociation() public method

Checks if the given field is a mapped association for this class.
public hasAssociation ( string $fieldName ) : boolean
$fieldName string
return boolean
示例#1
0
 public function testHasAssociation()
 {
     $this->assertFalse($this->classMetadata->hasAssociation('testtestasdf'));
 }