Set 'cascade' => 'all' if all cascade options set
This commit is contained in:
parent
c97eff94f5
commit
cd37ec47d5
@ -99,6 +99,9 @@ class PhpExporter extends AbstractExporter
|
|||||||
unset($cascade[$key]);
|
unset($cascade[$key]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (count($cascade) === 5) {
|
||||||
|
$cascade = array('all');
|
||||||
|
}
|
||||||
$associationMappingArray = array(
|
$associationMappingArray = array(
|
||||||
'fieldName' => $associationMapping['fieldName'],
|
'fieldName' => $associationMapping['fieldName'],
|
||||||
'targetEntity' => $associationMapping['targetEntity'],
|
'targetEntity' => $associationMapping['targetEntity'],
|
||||||
|
Loading…
Reference in New Issue
Block a user