Checks if the given field is a mapped association for this class.
string $fieldName:
boolean
Overrides ClassMetadata::hasAssociation
public function hasAssociation($fieldName) {
return in_array($fieldName, array(
'parent',
'children',
));
}